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

file modified
+24 -20
@@ -10,7 +10,7 @@ 

  Name:       python-oslo-config

  Epoch:      2

  Version:    4.11.1

- Release:    1%{?dist}

+ Release:    2%{?dist}

  Summary:    OpenStack common configuration library

  

  Group:      Development/Languages
@@ -35,20 +35,20 @@ 

  Summary:    OpenStack common configuration library

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

  

- Requires:   python-netaddr >= 0.7.13

- Requires:   python-oslo-i18n >= 2.1.0

- Requires:   python-rfc3986 >= 0.3.1

- Requires:   python-pbr

- Requires:   python-six >= 1.9.0

- Requires:   python-stevedore >= 1.20.0

- Requires:   python-debtcollector >= 1.2.0

- Requires:   PyYAML >= 3.10

+ Requires:   python2-netaddr >= 0.7.13

+ Requires:   python2-oslo-i18n >= 2.1.0

+ Requires:   python2-rfc3986 >= 0.3.1

+ Requires:   python2-pbr

+ Requires:   python2-six >= 1.9.0

+ Requires:   python2-stevedore >= 1.20.0

+ Requires:   python2-debtcollector >= 1.2.0

+ Requires:   python2-pyyaml >= 3.10

  

  BuildRequires: python2-devel

- BuildRequires: python-setuptools

- BuildRequires: python-oslo-i18n

- BuildRequires: python-rfc3986

- BuildRequires: python-pbr

+ BuildRequires: python2-setuptools

+ BuildRequires: python2-oslo-i18n

+ BuildRequires: python2-rfc3986

+ BuildRequires: python2-pbr

  BuildRequires: git

  

  %description -n python2-%{pypi_name}
@@ -64,13 +64,13 @@ 

  Summary:    Documentation for OpenStack common configuration library

  %{?python_provide:%python_provide python2-%{pypi_name}-doc}

  

- BuildRequires: python-fixtures

- BuildRequires: python-netaddr

- BuildRequires: python-openstackdocstheme

- BuildRequires: python-oslotest >= 1.10.0

- BuildRequires: python-sphinx

- BuildRequires: python-stevedore

- BuildRequires: PyYAML

+ BuildRequires: python2-fixtures

+ BuildRequires: python2-netaddr

+ BuildRequires: python2-openstackdocstheme

+ BuildRequires: python2-oslotest >= 1.10.0

+ BuildRequires: python2-sphinx

+ BuildRequires: python2-stevedore

+ BuildRequires: python2-pyyaml

  

  %description -n python2-%{pypi_name}-doc

  Documentation for the oslo-config library.
@@ -170,6 +170,10 @@ 

  %endif

  

  %changelog

+ * Fri Jan 26 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2:4.11.1-2

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Thu Sep 28 2017 rdo-trunk <javier.pena@redhat.com> 2:4.11.1-1

  - Update to 4.11.1

  

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