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

file modified
+15 -11
@@ -3,7 +3,7 @@ 

  

  Name: python-%{srcname}

  Version: 0.11.0

- Release: 1%{?dist}

+ Release: 2%{?dist}

  Summary: Pure Python Async Gear Protocol Library

  

  Group: Applications/Productivity
@@ -16,16 +16,16 @@ 

  BuildRequires: git

  BuildRequires: python2-devel

  BuildRequires: python3-devel

- BuildRequires: python-pbr

+ BuildRequires: python2-pbr

  BuildRequires: python3-pbr

  

  # Test requirements

- BuildRequires: pyOpenSSL

- BuildRequires: python-fixtures

- BuildRequires: python-statsd

- BuildRequires: python-testrepository

- BuildRequires: python-testresources

- BuildRequires: python-testscenarios

+ BuildRequires: python2-pyOpenSSL

+ BuildRequires: python2-fixtures

+ BuildRequires: python2-statsd

+ BuildRequires: python2-testrepository

+ BuildRequires: python2-testresources

+ BuildRequires: python2-testscenarios

  

  

  %global _description\
@@ -43,9 +43,9 @@ 

  

  %package -n python2-%{srcname}

  Summary: %summary

- Requires: python-extras

- Requires: python-daemon

- Requires: python-pbr

+ Requires: python2-extras

+ Requires: python2-daemon

+ Requires: python2-pbr

  %{?python_provide:%python_provide python2-%{srcname}}

  

  %description -n python2-%{srcname} %_description
@@ -95,6 +95,10 @@ 

  

  

  %changelog

+ * Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.11.0-2

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Fri Dec 29 2017 Tristan Cacqueray <tdecacqu@redhat.com> - 0.11.0-1

  - Update version (#1529648)

  - Add python3 package

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 branch(es) 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 churchyard

6 years ago
Metadata