Compare commits

...

13 Commits

Author SHA1 Message Date
Fedora Release Engineering e8fe91cf5a Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:00:15 +00:00
František Zatloukal 75f7bd9119 Remove deprecated py3_* macros (RHBZ#2378514) 2025-10-26 17:57:36 +01:00
Python Maint 31caef4b07 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 14:59:20 +02:00
Python Maint 40588e02ec Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:19:59 +02:00
František Zatloukal 1bb5f4cf94 Release 0.11.8 2025-07-24 21:34:40 +02:00
Python Maint 912e930338 Rebuilt for Python 3.14 2025-06-17 21:48:50 +02:00
Lukas Brabec b761ca2b37 add _sysusersdir for epel9 2025-05-05 10:25:05 +02:00
Lukas Brabec c4ddc357a7 require acl package 2025-05-05 09:07:53 +02:00
Lukas Brabec b6e5985a05 utilize sysusers to create testcloud group 2025-04-23 10:04:26 +02:00
František Zatloukal 5bb1b3b1d9 Release 0.11.7 2025-04-10 15:35:27 +02:00
František Zatloukal 69ef57ecf7 Release 0.11.6 2025-02-24 16:06:44 +01:00
František Zatloukal 64a669aa59 Release 0.11.5 2025-02-19 17:31:54 +01:00
Fedora Release Engineering b69dc766d9 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 12:38:33 +00:00
4 changed files with 23 additions and 8 deletions
+4
View File
@@ -45,3 +45,7 @@
/testcloud-0.11.2.tar.gz
/testcloud-0.11.3.tar.gz
/testcloud-0.11.4.tar.gz
/testcloud-0.11.5.tar.gz
/testcloud-0.11.6.tar.gz
/testcloud-0.11.7.tar.gz
/testcloud-0.11.8.tar.gz
+1 -1
View File
@@ -1 +1 @@
SHA512 (testcloud-0.11.4.tar.gz) = aa3ec9615442b1002c7dca0f1ad1b4525398e7cfad96e87556b40acccd5a0e0dd6a30be082bcdef579abba62e63fb2f93c99b0a9e43c0e58f99a31d6b26e4853
SHA512 (testcloud-0.11.8.tar.gz) = e3c393b93867750bccc74fbbb89c1d2bff88f3f0b6f4fa166e029eccf4f31ba2a1c65f9353f67fedaa65c5ed099c0b8e8909e52218731d7f6559efc1b6687625
+17 -7
View File
@@ -1,12 +1,17 @@
%if 0%{?rhel} <= 9
%global _sysusersdir /usr/lib/sysusers.d
%endif
Name: testcloud
# Update also version in testcloud/__init__.py and docs/source/conf.py when changing this!
Version: 0.11.4
Version: 0.11.8
Release: %autorelease
Summary: Tool for running cloud images locally
License: GPL-2.0-or-later
URL: https://pagure.io/testcloud
Source0: https://releases.pagure.org/testcloud/%{name}-%{version}.tar.gz
Source1: testcloud.sysusers
ExclusiveArch: %{kernel_arches} noarch
BuildArch: noarch
@@ -32,8 +37,8 @@ Summary: Python 3 interface to testcloud
BuildRequires: bash-completion
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-setuptools
Requires: acl
Requires: genisoimage
Requires: libvirt-daemon
Requires: libvirt-daemon-config-network
@@ -59,10 +64,11 @@ sed -i 's/ --cov-report=term-missing --cov testcloud//g' tox.ini
%pyproject_buildrequires
%build
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_install
%pyproject_save_files testcloud
# configuration files
mkdir -p %{buildroot}%{_sysconfdir}/testcloud/
@@ -81,7 +87,11 @@ 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
# sysusers conf file for creation of testcloud group
install -p -m644 -D %{SOURCE1} %{buildroot}%{_sysusersdir}/%{name}.conf
%check
%pyproject_check_import
%pytest
# Remove compiled .py files from /etc after os_install_post
rm -f %{buildroot}%{_sysconfdir}/testcloud/*.py{c,o}
@@ -104,9 +114,9 @@ rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__
%{_bindir}/t7d
%{_datadir}/bash-completion/completions/testcloud
%files -n python3-%{name}
%{python3_sitelib}/testcloud
%{python3_sitelib}/*.egg-info
%{_sysusersdir}/%{name}.conf
%files -n python3-%{name} -f %{pyproject_files}
%changelog
%autochangelog
+1
View File
@@ -0,0 +1 @@
g testcloud -