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

@@ -6,7 +6,7 @@ 

  

  Name:           python-repoze-who-plugins-sa

  Version:        1.0.1

- Release:        17.20160106gite1a36c5%{?dist}

+ Release:        18.20160106gite1a36c5%{?dist}

  Summary:        repoze.who SQLAlchemy plugin

  

  Group:          Development/Languages
@@ -26,11 +26,11 @@ 

  Patch100: repoze-who-plugins-sa-sdist.patch

  BuildArch:      noarch

  

- BuildRequires:  python2-devel python-setuptools python-repoze-who

- BuildRequires:  python-sqlalchemy python-coverage python-nose

+ BuildRequires:  python2-devel python2-setuptools python2-repoze-who

+ BuildRequires:  python2-sqlalchemy python2-coverage python2-nose

  # For tests.  Not putting it into Requires as it's an optional dep and we want

  # people to move away from elixir (dead upstream).

- BuildRequires:  python-elixir

+ BuildRequires:  python2-elixir

  

  %if 0%{?with_python3}

  BuildRequires: python3-devel
@@ -50,8 +50,8 @@ 

  

  %package -n python2-repoze-who-plugins-sa

  Summary: %summary

- Requires:       python-repoze-who

- Requires:       python-sqlalchemy

+ Requires:       python2-repoze-who

+ Requires:       python2-sqlalchemy

  Provides: python2-repoze-who-plugins-sa

  %{?python_provide:%python_provide python2-repoze-who-plugins-sa}

  
@@ -125,6 +125,10 @@ 

  

  

  %changelog

+ * Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.1-18.20160106gite1a36c5

+ - 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.0.1-17.20160106gite1a36c5

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

Note: please do not backport this to f26, f27 branches, as some of the modified requirements are not available there

This PR was opened automatically, for source code see here

rebased onto e381a3b

6 years ago

Pull-Request has been merged by ishcherb

6 years ago