Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1bb5f4cf94 | |||
| 912e930338 | |||
| b761ca2b37 | |||
| c4ddc357a7 | |||
| b6e5985a05 | |||
| 5bb1b3b1d9 | |||
| 69ef57ecf7 | |||
| 64a669aa59 | |||
| b69dc766d9 |
@@ -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 @@
|
||||
SHA512 (testcloud-0.11.4.tar.gz) = aa3ec9615442b1002c7dca0f1ad1b4525398e7cfad96e87556b40acccd5a0e0dd6a30be082bcdef579abba62e63fb2f93c99b0a9e43c0e58f99a31d6b26e4853
|
||||
SHA512 (testcloud-0.11.8.tar.gz) = e3c393b93867750bccc74fbbb89c1d2bff88f3f0b6f4fa166e029eccf4f31ba2a1c65f9353f67fedaa65c5ed099c0b8e8909e52218731d7f6559efc1b6687625
|
||||
|
||||
+12
-1
@@ -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
|
||||
@@ -34,6 +39,7 @@ BuildRequires: python3-devel
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
Requires: acl
|
||||
Requires: genisoimage
|
||||
Requires: libvirt-daemon
|
||||
Requires: libvirt-daemon-config-network
|
||||
@@ -81,6 +87,9 @@ 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
|
||||
%pytest
|
||||
# Remove compiled .py files from /etc after os_install_post
|
||||
@@ -104,6 +113,8 @@ rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__
|
||||
%{_bindir}/t7d
|
||||
%{_datadir}/bash-completion/completions/testcloud
|
||||
|
||||
%{_sysusersdir}/%{name}.conf
|
||||
|
||||
%files -n python3-%{name}
|
||||
%{python3_sitelib}/testcloud
|
||||
%{python3_sitelib}/*.egg-info
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
g testcloud -
|
||||
Reference in New Issue
Block a user