#2 Update Python 2 dependency declarations to new packaging standards
Merged 6 years ago by ignatenkobrain. Opened 6 years ago by ishcherb.
rpms/ ishcherb/librepo pyambiguous  into  master

file modified
+10 -6
@@ -10,7 +10,7 @@ 

  

  Name:           librepo

  Version:        1.8.1

- Release:        5%{?dist}

+ Release:        6%{?dist}

  Summary:        Repodata downloading library

  

  License:        LGPLv2+
@@ -42,14 +42,14 @@ 

  %package -n python2-%{name}

  Summary:        Python bindings for the librepo library

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

- BuildRequires:  pygpgme

+ BuildRequires:  python2-pygpgme

  BuildRequires:  python2-devel

  %if %{with tests}

- BuildRequires:  python-flask

- BuildRequires:  python-nose

+ BuildRequires:  python2-flask

+ BuildRequires:  python2-nose

  %endif

- BuildRequires:  python-sphinx

- BuildRequires:  pyxattr

+ BuildRequires:  python2-sphinx

+ BuildRequires:  python2-pyxattr

  Requires:       %{name}%{?_isa} = %{version}-%{release}

  

  %description -n python2-%{name}
@@ -138,6 +138,10 @@ 

  %endif

  

  %changelog

+ * Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.8.1-6

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Wed Jan 31 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.1-5

  - Switch to %%ldconfig_scriptlets

  

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 ignatenkobrain

6 years ago