#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-rsd-lib pyambiguous  into  master

file modified
+16 -12
@@ -8,7 +8,7 @@ 

  

  Name:           python-%{sname}

  Version:        0.1.1

- Release:        2%{?dist}

+ Release:        3%{?dist}

  Summary:        Python library for interfacing with Intel Rack Scale Design enabled hardware.

  

  License:        ASL 2.0
@@ -27,15 +27,15 @@ 

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

  

  BuildRequires:  python2-devel

- BuildRequires:  python-jsonschema

+ BuildRequires:  python2-jsonschema

  BuildRequires:  python2-pbr >= 2.0

- BuildRequires:  python-setuptools

- BuildRequires:  python-sushy >= 0.1.0

+ BuildRequires:  python2-setuptools

+ BuildRequires:  python2-sushy >= 0.1.0

  BuildRequires:  python2-sushy-tests >= 0.1.0

  

- Requires:       python-jsonschema

+ Requires:       python2-jsonschema

  Requires:       python2-pbr >= 2.0

- Requires:       python-sushy >= 0.1.0

+ Requires:       python2-sushy >= 0.1.0

  

  %description -n python2-%{sname}

  This library extends the existing Sushy library to include functionality for
@@ -49,10 +49,10 @@ 

  BuildRequires: python2-devel

  

  Requires: python2-%{sname} = %{version}-%{release}

- Requires: python-jsonschema

+ Requires: python2-jsonschema

  Requires: python2-pbr

- Requires: python-setuptools

- Requires: python-sushy >= 0.1.0

+ Requires: python2-setuptools

+ Requires: python2-sushy >= 0.1.0

  Requires: python2-sushy-tests >= 0.1.0

  

  %description -n python2-%{sname}-tests
@@ -100,9 +100,9 @@ 

  %package -n python-%{sname}-doc

  Summary: rsd-lib documentation

  

- BuildRequires: python-sphinx

- BuildRequires: python-oslo-sphinx

- BuildRequires: python-openstackdocstheme >= 1.11.0

+ BuildRequires: python2-sphinx

+ BuildRequires: python2-oslo-sphinx

+ BuildRequires: python2-openstackdocstheme >= 1.11.0

  

  %description -n python-%{sname}-doc

  Documentation for rsd-lib
@@ -167,6 +167,10 @@ 

  %doc doc/build/html README.rst

  

  %changelog

+ * Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.1.1-3

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

  

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

rebased onto c6163f5

6 years ago

rebased onto fcf8995

6 years ago

Pull-Request has been merged by churchyard

6 years ago
Metadata