Update Python 2 dependency declarations to new packaging standards
This commit is contained in:
+13
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
Name: testcloud
|
||||
Version: 0.1.15
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Tool for running cloud images locally
|
||||
|
||||
License: GPLv2+
|
||||
@@ -17,7 +17,11 @@ Requires(pre): shadow-utils
|
||||
|
||||
# testcloud integrates with libvirt
|
||||
Requires: libvirt
|
||||
%if 0%{?fedora} <= 26
|
||||
Requires: libvirt-python
|
||||
%else
|
||||
Requires: python2-libvirt
|
||||
%endif
|
||||
|
||||
# This is used to manipulate images on disk
|
||||
Requires: libguestfs
|
||||
@@ -29,7 +33,11 @@ Requires: python2-requests
|
||||
Requires: polkit
|
||||
Requires: python2-jinja2
|
||||
|
||||
%if 0%{?fedora} <= 26
|
||||
BuildRequires: libvirt-python
|
||||
%else
|
||||
BuildRequires: python2-libvirt
|
||||
%endif
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-jinja2
|
||||
BuildRequires: python2-mock
|
||||
@@ -102,6 +110,10 @@ install conf/99-testcloud-nonroot-libvirt-access.rules %{buildroot}%{_sysconfdir
|
||||
%{_bindir}/testcloud
|
||||
|
||||
%changelog
|
||||
* Fri Feb 02 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.1.15-2
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Thu Oct 26 2017 Kamil Páral <kparal@redhat.com> - 0.1.15-1
|
||||
- keep backwards compatible API
|
||||
|
||||
|
||||
Reference in New Issue
Block a user