Merge branch 'master' into epel8

This commit is contained in:
František Zatloukal
2020-12-16 16:36:28 +01:00
3 changed files with 28 additions and 3 deletions
+2
View File
@@ -20,3 +20,5 @@
/testcloud-0.3.4.tar.gz
/testcloud-0.3.5.tar.gz
/testcloud-0.3.6.tar.gz
/testcloud-0.3.7.tar.gz
/testcloud-0.4.0.tar.gz
+1 -1
View File
@@ -1 +1 @@
SHA512 (testcloud-0.3.6.tar.gz) = fd690dcce6184b6b6a1e488d9dce639b2b094e953cb52f66c13371faee0c46d967b924c63608492063872ebc02c8d49c43d12b870778025487a580cd68dee9fe
SHA512 (testcloud-0.4.0.tar.gz) = 2a8d921db31f43185b972368b9d63916bae74ce806d0493079ef0e3fd4a6a6341aee89642bc211a47dfa6736d119ce68de9f0c45045438d0b2ba5e08c64f74c1
+25 -2
View File
@@ -4,10 +4,11 @@
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
ExclusiveArch: %{kernel_arches} noarch
Name: testcloud
# Update also version in testcloud/__init__.py and docs/source/conf.py when changing this!
Version: 0.3.6
Version: 0.4.0
Release: 1%{?dist}
Summary: Tool for running cloud images locally
@@ -68,6 +69,10 @@ getent group testcloud >/dev/null || groupadd testcloud
%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
@@ -95,7 +100,8 @@ rm -f %{buildroot}%{_sysconfdir}/testcloud/*.py{c,o}
rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__
%files
%doc README.rst
%doc README.md
%{_mandir}/man1/testcloud.1*
%license LICENSE
%dir %{_sysconfdir}/testcloud
@@ -114,6 +120,23 @@ rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__
%{python3_sitelib}/*.egg-info
%changelog
* Wed Dec 16 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.4.0-1
- Support creating instances by fedora:XX, fedora:latest and fedora:qa-matrix strings
- Implement auto cleaning of backingstore
- Make testcloud compatible with future Python 3.10
- Adapt to requests defaulting to simplejson if present
- Don't throw out exception when trying to create instance already existing in libvirt
- --all is now the default in testcloud instance list
- Show some hints to the users on instance create/start
- cleanup the instance bits when instance create fails
* Mon Nov 16 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.7-1
- Do not throw out ugly tracebacks if user uses cli (#1887815)
- Parse CMD_LINE_ARGS and add CMD_LINE_ENVS (https://pagure.io/testcloud/issue/49)
- Add try/except check to instance.prepare() as permissions error can occur there too
- Update documentation
- Add manpage
* Fri Oct 09 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.6-1
- Improve user experience when testcloud fails because of missing group