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

file modified
+7 -3
@@ -2,7 +2,7 @@ 


  Name: python-grabserial

  Version: 1.9.3

- Release: 3%{?dist}

+ Release: 4%{?dist}

  Summary: Reads a serial port and writes data to standard output


  License: GPLv2
@@ -10,7 +10,7 @@ 

  Source0: https://github.com/tbird20d/grabserial/archive/v%{version}.tar.gz


  BuildArch: noarch

- BuildRequires: python-setuptools

+ BuildRequires: python2-setuptools

  BuildRequires: python2-devel


  %global _description\
@@ -22,7 +22,7 @@ 


  %package -n python2-grabserial

  Summary: %summary

- Requires: pyserial

+ Requires: python2-pyserial

  %{?python_provide:%python_provide python2-grabserial}


  %description -n python2-grabserial %_description
@@ -43,6 +43,10 @@ 




+ * Fri Jan 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.9.3-4

+ - Update Python 2 dependency declarations to new packaging standards

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


  * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9.3-3

  - Python 2 binary package renamed to python2-grabserial

    See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3

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 branch(es) 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 sinnykumari

5 years ago