#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-linux-procfs pyambiguous  into  master

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

  

  Name: python-linux-procfs

  Version: 0.5.1

- Release: 2%{?dist}

+ Release: 3%{?dist}

  License: GPLv2

  Summary: Linux /proc abstraction classes

  Group: System Environment/Libraries
@@ -14,7 +14,7 @@ 

  URL: https://rt.wiki.kernel.org/index.php/Tuna

  BuildArch: noarch

  BuildRequires: python2-devel

- BuildRequires: python-setuptools

+ BuildRequires: python2-setuptools

  %if 0%{?with_python3}

  BuildRequires: python3-devel

  BuildRequires: python3-setuptools
@@ -30,7 +30,7 @@ 

  Summary: %summary

  %{?python_provide:%python_provide python2-linux-procfs}

  

- Requires: python-six

+ Requires: python2-six

  

  %description -n python2-linux-procfs %_description

  
@@ -84,6 +84,10 @@ 

  %endif

  

  %changelog

+ * Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.1-3

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Tue Nov 21 2017 Jiri Kastner <jkastner@redhat.com> - 0.5.1-2

  - missing defattr for _bindir

  

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 churchyard

6 years ago
Metadata