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

file modified
+8 -4
@@ -5,18 +5,18 @@ 

  Summary:       Grep-like tool for source code

  Name:          grin

  Version:       1.2.1

- Release:       16%{?dist}

+ Release:       17%{?dist}

  License:       BSD

  Group:         Applications/Text

  URL:           http://pypi.python.org/pypi/grin

  Source0:       http://pypi.python.org/packages/source/g/grin/grin-%{version}.tar.gz

  Patch0:        grin-1.2.1-argparse.patch

- Requires:      python-setuptools

+ Requires:      python2-setuptools

  %{?argparse:Requires:      python-argparse}

  BuildArch:     noarch

  BuildRequires: python2-devel

- BuildRequires: python-setuptools

- BuildRequires: python-nose

+ BuildRequires: python2-setuptools

+ BuildRequires: python2-nose

  

  %description

  grin is a similar in function to GNU grep, however it is has modified
@@ -59,6 +59,10 @@ 

  %{python2_sitelib}/grin-*-py*.egg-info/

  

  %changelog

+ * Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.1-17

+ - 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> - 1.2.1-16

  - 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

rebased onto e2d78e7

6 years ago

Pull-Request has been merged by terjeros

6 years ago