#1 Fix ambiguous Python 2 dependency declarations
Merged 3 years ago by churchyard. Opened 3 years ago by ishcherb.
rpms/ ishcherb/python-power pyambiguous  into  master

file modified
+6 -2
@@ -1,7 +1,7 @@ 

  %global pypi_name power

  Name:           python-%{pypi_name}

  Version:        1.4

- Release:        9%{?dist}

+ Release:        10%{?dist}

  Summary:        Cross-platform system power status information

  License:        MIT

  URL:            https://github.com/Kentzo/Power
@@ -9,7 +9,7 @@ 

  BuildArch:      noarch


  BuildRequires:  python2-devel

- BuildRequires:  python-setuptools

+ BuildRequires:  python2-setuptools


  BuildRequires:  python3-devel

  BuildRequires:  python3-setuptools
@@ -55,6 +55,10 @@ 




+ * Fri Dec 08 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1.4-10

+ - Fix ambiguous Python 2 dependency declarations

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


  * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-9

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_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.

Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=23587529

Pull-Request has been merged by churchyard

3 years ago