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

file modified
+8 -4
@@ -1,6 +1,6 @@ 

  Name: resiprocate

  Version: 1.10.2

- Release: 30%{?dist}

+ Release: 31%{?dist}

  Summary: SIP and TURN stacks, with SIP proxy and TURN server implementations

  License: VSL

  Url: http://www.resiprocate.org
@@ -26,8 +26,8 @@ 

  BuildRequires: perl-interpreter

  BuildRequires: popt-devel

  BuildRequires: postgresql-devel

- BuildRequires: python-devel

- BuildRequires: python-pycxx-devel

+ BuildRequires: python2-devel

+ BuildRequires: python2-pycxx-devel

  %define use_radcli 0%{?fedora} == 0 || 0%{?fedora} >= 23 || 0%{?rhel} >= 6

  %if %use_radcli

  BuildRequires: radcli-devel
@@ -106,7 +106,7 @@ 


  %package turn-server-psql

  Summary: ICE/STUN/TURN server PostgreSQL users script

- Requires: python-psycopg2

+ Requires: python2-psycopg2


  %description turn-server-psql

  reTurn is the TURN server developed as part of the reSIProcate project.
@@ -391,6 +391,10 @@ 




+ * Mon Mar 26 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.10.2-31

+ - 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.10.2-30

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

5 years ago