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

file modified
+13 -9
@@ -7,7 +7,7 @@ 


  Name:           python-%{pypi_name}

  Version:        3.1.1

- Release:        6%{?dist}

+ Release:        7%{?dist}

  Summary:        Python Build Reasonableness


  License:        ASL 2.0
@@ -18,8 +18,8 @@ 




- BuildRequires: python-sphinx >= 1.1.3

- BuildRequires: python-oslo-sphinx

+ BuildRequires: python2-sphinx >= 1.1.3

+ BuildRequires: python2-oslo-sphinx



@@ -36,12 +36,12 @@ 

  BuildRequires:  python2-devel


  %if 0%{?do_test} == 1

- BuildRequires:  python-coverage

- BuildRequires:  python-hacking

- BuildRequires:  python-mock

- BuildRequires:  python-testrepository

- BuildRequires:  python-testresources

- BuildRequires:  python-testscenarios

+ BuildRequires:  python2-coverage

+ BuildRequires:  python2-hacking

+ BuildRequires:  python2-mock

+ BuildRequires:  python2-testrepository

+ BuildRequires:  python2-testresources

+ BuildRequires:  python2-testscenarios

  BuildRequires:  gcc

  BuildRequires:  git

  BuildRequires:  gnupg
@@ -125,6 +125,10 @@ 




+ * Tue Feb 27 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.1.1-7

+ - Update Python 2 dependency declarations to new packaging standards

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


  * Thu Feb 15 2018 Tomas Orsava <torsava@redhat.com> - 3.1.1-6

  - Switch %%python macro to %%python2


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 mrunge

5 years ago