From 3cb43687cfaeaa645bc237b765c326bc0a0e84c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= Date: Wed, 25 Sep 2024 22:27:29 +0200 Subject: [PATCH] Release 0.10.0 --- .gitignore | 1 + sources | 2 +- testcloud.spec | 22 ++++------------------ 3 files changed, 6 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index 3cc5c61..1517f5d 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ /testcloud-0.9.11.tar.gz /testcloud-0.9.12.tar.gz /testcloud-0.9.13.tar.gz +/testcloud-0.10.0.tar.gz diff --git a/sources b/sources index 720c6ad..6950ad1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (testcloud-0.9.13.tar.gz) = e28c71bee53eda395ca64e2aaf25457e419de5510b3c2a4d7ed0454e730d155182b9466ea627ece4ac2c736556e487e62240e1a41d0fa5930e0babcd9b9fdb4d +SHA512 (testcloud-0.10.0.tar.gz) = a579fe5e1e7de7d5137dfb92748cdf88bd4e196d1800c1ce65f36ef19afea8db135e140e05b8f0c4c1114187e0905ef99a99dbf52ff1424e4ec2e8f1277b9291 diff --git a/testcloud.spec b/testcloud.spec index cd7b896..b9bc6e3 100644 --- a/testcloud.spec +++ b/testcloud.spec @@ -1,6 +1,6 @@ Name: testcloud # Update also version in testcloud/__init__.py and docs/source/conf.py when changing this! -Version: 0.9.13 +Version: 0.10.0 Release: %autorelease Summary: Tool for running cloud images locally @@ -29,14 +29,9 @@ system features for ease of use and sanity in development. %package -n python3-%{name} Summary: Python 3 interface to testcloud -Obsoletes: python2-testcloud <= %{version}-%{release} - BuildRequires: bash-completion -BuildRequires: python3-libvirt BuildRequires: python3-devel -BuildRequires: python3-jinja2 BuildRequires: python3-pytest -BuildRequires: python3-requests BuildRequires: python3-setuptools Requires: genisoimage @@ -44,10 +39,6 @@ Requires: libvirt-daemon Requires: libvirt-daemon-config-network Requires: libvirt-daemon-driver-qemu Requires: libvirt-daemon-driver-storage-core -Requires: python3-requests -Requires: python3-libvirt -Requires: python3-jinja2 -Requires: python3-peewee Recommends: butane Suggests: python3-libguestfs Suggests: libguestfs-tools-c @@ -64,16 +55,15 @@ getent group testcloud >/dev/null || groupadd testcloud # Drop coverage testing sed -i 's/ --cov-report=term-missing --cov testcloud//g' tox.ini +%generate_buildrequires +%pyproject_buildrequires + %build %py3_build %install %py3_install -# Docs -install -d %{buildroot}%{_mandir}/man1 -install -p -m 0644 manpages/testcloud.1 %{buildroot}%{_mandir}/man1 - # configuration files mkdir -p %{buildroot}%{_sysconfdir}/testcloud/ install conf/settings-example.py %{buildroot}%{_sysconfdir}/testcloud/settings.py @@ -91,10 +81,6 @@ install -d %{buildroot}/%{_sharedstatedir}/testcloud/instances mkdir -p %{buildroot}%{_sysconfdir}/polkit-1/rules.d install conf/99-testcloud-nonroot-libvirt-access.rules %{buildroot}%{_sysconfdir}/polkit-1/rules.d/99-testcloud-nonroot-libvirt-access.rules -# Copy bash completion script -mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/ -install conf/testcloud-bash %{buildroot}%{_datadir}/bash-completion/completions/testcloud - %check %pytest # Remove compiled .py files from /etc after os_install_post