#2 Update Python 2 dependency declarations to new packaging standards
Merged 6 years ago by ishcherb. Opened 6 years ago by ishcherb.
rpms/ ishcherb/oz pyambiguous  into  master

file modified
+12 -8
@@ -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 @@ 

  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-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 @@ 

  %{_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

  

This package uses names with ambiguous python- prefix in requirements.

According to Fedora Packaging guidelines for Python, packages must use names with either python2- or python3- prefix in requirements where available.
We are aiming to rename python-* dependencies to python2-*, so we can later switch the python-* namespace to Python 3.

This PR is part of Fedora's Switch to Python 3 effort.

Note that, although this PR was created automatically, we will respond to any comments or issues which you might find with it. We will keep the PR open for review for a week, and if there's no feedback we'll merge it. There is no need to build the package right after merge, this change can wait for the next package rebuild.
The local mock build passed, for Koji scratch build please see simple-koji-ci result.

Note: please do not backport this to f26, f27 branches, as some of the modified requirements are not available there

This PR was opened automatically, for source code see here

Pull-Request has been merged by ishcherb

6 years ago