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

file modified
+10 -6

@@ -11,7 +11,7 @@ 

  

  Name:		python-%{pypi_name}

  Version:	1.3

- Release:	3%{?dist}

+ Release:	4%{?dist}

  Summary:	%{global_sum}

  

  License:	MIT

@@ -35,12 +35,12 @@ 

  Summary:	%{global_sum}

  

  BuildRequires:	python2-devel

- BuildRequires:	python-nose

- BuildRequires:	python-pkginfo

- BuildRequires:	python-setuptools

- BuildRequires:	python-sphinx

+ BuildRequires:	python2-nose

+ BuildRequires:	python2-pkginfo

+ BuildRequires:	python2-setuptools

+ BuildRequires:	python2-sphinx

  

- Requires:	python-nose

+ Requires:	python2-nose

  

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

  

@@ -118,6 +118,10 @@ 

  

  

  %changelog

+ * Tue Feb 27 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.3-4

+ - 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> - 1.3-3

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

This PR was opened automatically, for source code see here

Pull-Request has been merged by ishcherb

2 years ago