#1 Update Python 2 dependency declarations to new packaging standards
Merged 6 years ago by mrunge. Opened 6 years ago by ishcherb.
rpms/ ishcherb/python-versiontools pyambiguous  into  master

file modified
+9 -5
@@ -6,7 +6,7 @@ 

  

  Name:           python-versiontools

  Version:        1.9.1

- Release:        15%{?dist}

+ Release:        16%{?dist}

  Summary:        Smart replacement for plain tuple used in __version__

  

  License:        LGPLv3
@@ -18,10 +18,10 @@ 

  Patch1:         python-versiontools-py35.patch

  

  BuildArch:      noarch

- BuildRequires:  python-devel

- BuildRequires:  python-setuptools

- BuildRequires:  python-sphinx

- BuildRequires:  python-nose

+ BuildRequires:  python2-devel

+ BuildRequires:  python2-setuptools

+ BuildRequires:  python2-sphinx

+ BuildRequires:  python2-nose

  

  %if 0%{?with_python3}

  BuildRequires:  python3-devel
@@ -110,6 +110,10 @@ 

  

  

  %changelog

+ * Wed Jan 31 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.9.1-16

+ - Update Python 2 dependency declarations to new packaging standards

+   (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)

+ 

  * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9.1-15

  - Python 2 binary package renamed to python2-versiontools

    See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3

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.

This PR was opened automatically, for source code see here

Pull-Request has been merged by mrunge

6 years ago