|
|
|
@@ -2,8 +2,8 @@
|
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
|
|
|
|
|
|
|
|
Name: testcloud
|
|
|
|
|
Version: 0.1.10
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 0.1.11
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Tool for running cloud images locally
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
@@ -31,7 +31,8 @@ Requires: python-jinja2
|
|
|
|
|
Requires: net-tools
|
|
|
|
|
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: pytest
|
|
|
|
|
BuildRequires: python2-pytest
|
|
|
|
|
BuildRequires: python-pytest-cov
|
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
|
|
|
|
|
|
# Provides: python2-testcloud
|
|
|
|
@@ -51,6 +52,8 @@ getent group testcloud >/dev/null || groupadd testcloud
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%{__python2} setup.py test
|
|
|
|
|
# Remove compiled .py files from /etc after running unittests
|
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/testcloud/*.py{c,o}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__python2} setup.py build
|
|
|
|
@@ -92,14 +95,30 @@ install conf/99-testcloud-nonroot-libvirt-access.rules %{buildroot}%{_sysconfdir
|
|
|
|
|
|
|
|
|
|
%attr(0644, root, root) %{_sysconfdir}/polkit-1/rules.d/99-testcloud-nonroot-libvirt-access.rules
|
|
|
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/testcloud/settings.p*
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/testcloud/settings.py
|
|
|
|
|
%{_bindir}/testcloud
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Feb 22 2017 Kamil Páral <kparal@redhat.com> - 0.1.11-3
|
|
|
|
|
- don't install py[co] files into /etc
|
|
|
|
|
|
|
|
|
|
* Mon Feb 20 2017 Kamil Páral <kparal@redhat.com> - 0.1.11-2
|
|
|
|
|
- add python-pytest-cov builddep to run test suite during building
|
|
|
|
|
|
|
|
|
|
* Mon Feb 20 2017 Kamil Páral <kparal@redhat.com> - 0.1.11-1
|
|
|
|
|
- make libvirt url configurable
|
|
|
|
|
- avoid race condition during listing domains
|
|
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Aug 17 2016 Martin Krizek <mkrizek@redhat.com> - 0.1.10-1
|
|
|
|
|
- use symlinks for file:// urls
|
|
|
|
|
- look for the jinja template in the conf/ dir first
|
|
|
|
|
|
|
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.9-2
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
|
|
|
|
|
* Tue Jul 19 2016 Kamil Páral <kparal@redhat.com> - 0.1.9-1
|
|
|
|
|
- upstream 0.1.9 release
|
|
|
|
|
- "destroy" commands renamed to "remove"
|
|
|
|
@@ -108,6 +127,12 @@ install conf/99-testcloud-nonroot-libvirt-access.rules %{buildroot}%{_sysconfdir
|
|
|
|
|
- no more crashes when stopping an already stopped instance
|
|
|
|
|
- option to automatically stop an instance during remove (API)
|
|
|
|
|
|
|
|
|
|
* Mon Jul 18 2016 Martin Krizek <mkrizek@redhat.com> - 0.1.8-3
|
|
|
|
|
- libguestfs on arm should be fixed now, removing exclude arm
|
|
|
|
|
|
|
|
|
|
* Wed Jun 22 2016 Martin Krizek <mkrizek@redhat.com> - 0.1.8-2
|
|
|
|
|
- exclude arm until libguestfs dep is resolved there
|
|
|
|
|
|
|
|
|
|
* Fri Feb 05 2016 Tim Flink <tflink@fedoraproject.org> - 0.1.8-1
|
|
|
|
|
- Explicitly fail when IP address is not found
|
|
|
|
|
|
|
|
|
|