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

file modified
+7 -3
@@ -6,14 +6,14 @@ 

  

  Name:           python-cairocffi

  Version:        0.7.2

- Release:        11%{?dist}

+ Release:        12%{?dist}

  Summary:        cffi-based cairo bindings for Python

  License:        BSD

  URL:            https://pypi.python.org/pypi/cairocffi/

  Source0:        https://github.com/SimonSapin/cairocffi/archive/v%{version}.tar.gz

  BuildArch:      noarch

  

- BuildRequires:  python2-devel python-setuptools python-sphinx python-cffi python-xcffib

+ BuildRequires:  python2-devel python2-setuptools python2-sphinx python2-cffi python2-xcffib

  %if 0%{?with_python3}

  BuildRequires:  python3-devel python3-setuptools python3-cffi python3-xcffib

  %endif # if with_python3
@@ -28,7 +28,7 @@ 

  

  %package -n python2-cairocffi

  Summary: %summary

- Requires:       python-cffi cairo

+ Requires:       python2-cffi cairo

  %if 0%{?fedora} > 13 || 0%{?rhel} > 6

  Requires:       gdk-pixbuf2

  %endif
@@ -91,6 +91,10 @@ 

  %endif # with_python3

  

  %changelog

+ * Tue Mar 13 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.7.2-12

+ - 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.7.2-11

  - 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 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 ishcherb

3 years ago