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

file modified
+21 -17
@@ -9,7 +9,7 @@ 

  

  Name:           limnoria

  Version:        20171025

- Release:        2%{?dist}

+ Release:        3%{?dist}

  Summary:        A modified version of Supybot (an IRC bot) with enhancements and bug fixes

  

  License:        BSD and GPLv2 and GPLv2+
@@ -55,26 +55,26 @@ 

  Requires:  python3-ecdsa

  %else

  BuildRequires:  python2-devel

- BuildRequires:  python-chardet

- BuildRequires:  pytz

- BuildRequires:  python-dateutil

+ BuildRequires:  python2-chardet

+ BuildRequires:  python2-pytz

+ BuildRequires:  python2-dateutil

  BuildRequires:  python2-gnupg

- BuildRequires:  python-feedparser

- BuildRequires:  python-sqlalchemy

- BuildRequires:  python-pysocks

- BuildRequires:  python-mock

- BuildRequires:  python-ecdsa

+ BuildRequires:  python2-feedparser

+ BuildRequires:  python2-sqlalchemy

+ BuildRequires:  python2-pysocks

+ BuildRequires:  python2-mock

+ BuildRequires:  python2-ecdsa

  # Need to require packages for runtime as well.

  Requires:  python2-devel

- Requires:  python-chardet

- Requires:  pytz

- Requires:  python-dateutil

+ Requires:  python2-chardet

+ Requires:  python2-pytz

+ Requires:  python2-dateutil

  Requires:  python2-gnupg

- Requires:  python-feedparser

- Requires:  python-sqlalchemy

- Requires:  python-pysocks

- Requires:  python-mock

- Requires:  python-ecdsa

+ Requires:  python2-feedparser

+ Requires:  python2-sqlalchemy

+ Requires:  python2-pysocks

+ Requires:  python2-mock

+ Requires:  python2-ecdsa

  %endif

  

  %description
@@ -137,6 +137,10 @@ 

  %endif

  

  %changelog

+ * Thu Mar 01 2018 Iryna Shcherbina <ishcherb@redhat.com> - 20171025-3

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20171025-2

  - 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

Pull-Request has been merged by kevin

6 years ago