Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e8fe91cf5a | |||
| 75f7bd9119 | |||
| 31caef4b07 | |||
| 40588e02ec | |||
| 1bb5f4cf94 | |||
| 912e930338 |
@@ -48,3 +48,4 @@
|
||||
/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.7.tar.gz) = 5d60dd7f0290865586242a4b1aebfd2d7977140a3e673ff42a0f7e455f443ceb1e2faf2aad30791c09278dc4fd82da1744e25b670aae55ccfdc177877bb1ca1a
|
||||
SHA512 (testcloud-0.11.8.tar.gz) = e3c393b93867750bccc74fbbb89c1d2bff88f3f0b6f4fa166e029eccf4f31ba2a1c65f9353f67fedaa65c5ed099c0b8e8909e52218731d7f6559efc1b6687625
|
||||
|
||||
+6
-7
@@ -4,7 +4,7 @@
|
||||
|
||||
Name: testcloud
|
||||
# Update also version in testcloud/__init__.py and docs/source/conf.py when changing this!
|
||||
Version: 0.11.7
|
||||
Version: 0.11.8
|
||||
Release: %autorelease
|
||||
Summary: Tool for running cloud images locally
|
||||
|
||||
@@ -37,7 +37,6 @@ Summary: Python 3 interface to testcloud
|
||||
BuildRequires: bash-completion
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-setuptools
|
||||
|
||||
Requires: acl
|
||||
Requires: genisoimage
|
||||
@@ -65,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/
|
||||
@@ -91,6 +91,7 @@ install conf/99-testcloud-nonroot-libvirt-access.rules %{buildroot}%{_sysconfdir
|
||||
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}
|
||||
@@ -115,9 +116,7 @@ rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__
|
||||
|
||||
%{_sysusersdir}/%{name}.conf
|
||||
|
||||
%files -n python3-%{name}
|
||||
%{python3_sitelib}/testcloud
|
||||
%{python3_sitelib}/*.egg-info
|
||||
%files -n python3-%{name} -f %{pyproject_files}
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
|
||||
Reference in New Issue
Block a user