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

file modified
+9 -5
@@ -2,7 +2,7 @@ 

  

  Name:           python-%{pypi_name}

  Version:        5.0.6

- Release:        10%{?dist}

+ Release:        11%{?dist}

  Summary:        Config file reading, writing, and validation

  

  Group:          System Environment/Libraries
@@ -17,10 +17,10 @@ 

  BuildArch:      noarch

  

  BuildRequires:  python2-devel

- BuildRequires:  python-setuptools

- BuildRequires:  python-six

+ BuildRequires:  python2-setuptools

+ BuildRequires:  python2-six

  %{?fc22:BuildRequires: pytest}

- %{!?fc22:BuildRequires: python-pytest}

+ %{!?fc22:BuildRequires: python2-pytest}

  BuildRequires:  python3-devel

  BuildRequires:  python3-setuptools

  BuildRequires:  python3-six
@@ -35,7 +35,7 @@ 

  Summary:        Config file reading, writing and validation

  %{?python_provide:%python_provide python2-%{pypi_name}}

  

- Requires:       python-six

+ Requires:       python2-six

  %description -n python2-%{pypi_name}

  ConfigObj is a simple but powerful configuration file reader and writer: an ini

  file round tripper. Its main feature is that it is very easy to use, with a
@@ -83,6 +83,10 @@ 

  %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info

  

  %changelog

+ * Tue Mar 13 2018 Iryna Shcherbina <ishcherb@redhat.com> - 5.0.6-11

+ - 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> - 5.0.6-10

  - 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

Pull-Request has been merged by terjeros

6 years ago