Merge branch 'master' into f24

This commit is contained in:
Kamil Páral
2017-02-22 04:39:27 +01:00
+12 -3
View File
@@ -3,7 +3,7 @@
Name: testcloud
Version: 0.1.11
Release: 1%{?dist}
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,10 +95,16 @@ 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