Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-03-01 05:49:37 +01:00
parent 0dfcb7852d
commit 70b0317b26
1 changed files with 12 additions and 8 deletions

20
oz.spec
View File

@ -1,7 +1,7 @@
Summary: Library and utilities for automated guest OS installs
Name: oz
Version: 0.16.0
Release: 3%{?dist}
Release: 4%{?dist}
License: LGPLv2
Group: Development/Libraries
URL: http://github.com/clalancette/oz
@ -10,10 +10,10 @@ Patch0: s390x-01-add-basic-support.patch
Patch1: s390x-02-use-sclplmconsole.patch
Patch2: s390x-03-disable-vnc-console.patch
BuildArch: noarch
Requires: python >= 2.5
Requires: python-libguestfs >= 1.18
Requires: python-lxml
Requires: libvirt-python >= 0.9.7
Requires: python2 >= 2.5
Requires: python2-libguestfs >= 1.18
Requires: python2-lxml
Requires: python2-libvirt >= 0.9.7
# in theory, oz doesn't really require libvirtd to be local to operate
# properly. However, because of the libguestfs manipulations, in practice
# it really does. Make it depend on libvirt (so we get libvirtd) for now,
@ -21,14 +21,14 @@ Requires: libvirt-python >= 0.9.7
Requires: libvirt-daemon-kvm
Requires: libvirt-daemon-qemu
Requires: libvirt-daemon-config-network
Requires: python-requests
Requires: python2-requests
Requires: genisoimage
Requires: mtools
Requires: openssh-clients
Requires: m2crypto
Requires: python-monotonic
Requires: python2-monotonic
BuildRequires: python
BuildRequires: python2
%description
Oz is a set of libraries and utilities for doing automated guest OS
@ -86,6 +86,10 @@ fi
%{_mandir}/man1/*
%changelog
* Thu Mar 01 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.16.0-4
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Sun Feb 18 2018 Chris Lalancette <clalancette@gmail.com> - 0.16.0-3
- Add s390x support patches