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

file modified
+8 -4
@@ -18,7 +18,7 @@ 

  Summary: Library to access the contents of an iPod

  Name: libgpod

  Version: 0.8.3

- Release: 20%{?dist}

+ Release: 21%{?dist}

  License: LGPLv2+

  Group: System Environment/Libraries

  URL: http://www.gtkpod.org/libgpod.html
@@ -50,8 +50,8 @@ 

  %endif

  %endif

  BuildRequires: pygobject2-devel

- BuildRequires: python-devel

- BuildRequires: python-mutagen

+ BuildRequires: python2-devel

+ BuildRequires: python2-mutagen

  BuildRequires: sg3_utils-devel

  BuildRequires: sqlite-devel

  BuildRequires: swig
@@ -96,7 +96,7 @@ 

  Summary: Python module to access iPod content

  Group: Development/Languages

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

- Requires: python-mutagen

+ Requires: python2-mutagen

  

  %description -n python2-gpod

  A python module to access iPod content.  This module provides bindings to the
@@ -225,6 +225,10 @@ 

  %endif

  

  %changelog

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

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.8.3-20

  - Python 2 binary package renamed to python2-gpod

    See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3

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.

This PR was opened automatically, for source code see here

Pull-Request has been merged by limb

6 years ago
Metadata