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

file modified
+14 -10
@@ -1,6 +1,6 @@ 

  Name:      pykickstart

  Version:   2.44

- Release:   1%{?dist}

+ Release:   2%{?dist}

  License:   GPLv2 and MIT

  Group:     System Environment/Libraries

  Summary:   Python utilities for manipulating kickstart files.
@@ -13,12 +13,12 @@ 

  BuildArch: noarch

  

  BuildRequires: gettext

- BuildRequires: python-coverage

- BuildRequires: python-devel

- BuildRequires: python-nose

- BuildRequires: python-ordered-set

- BuildRequires: python-setuptools

- BuildRequires: python-requests

+ BuildRequires: python2-coverage

+ BuildRequires: python2-devel

+ BuildRequires: python2-nose

+ BuildRequires: python2-ordered-set

+ BuildRequires: python2-setuptools

+ BuildRequires: python2-requests

  

  BuildRequires: python3-coverage

  BuildRequires: python3-devel
@@ -40,9 +40,9 @@ 

  %{?python_provide:%python_provide python2-kickstart}

  %{?python_provide:%python_provide python2-pykickstart}

  Summary:  Python 2 library for manipulating kickstart files.

- Requires: python-six

- Requires: python-requests

- Requires: python-ordered-set

+ Requires: python2-six

+ Requires: python2-requests

+ Requires: python2-ordered-set

  

  %description -n python2-kickstart

  Python 2 library for manipulating kickstart files.  The binaries are found in
@@ -122,6 +122,10 @@ 

  %{python3_sitelib}/pykickstart/locale/

  

  %changelog

+ * Mon Jan 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.44-2

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Thu Jan 04 2018 Chris Lumens <clumens@redhat.com> - 2.44-1

  - Fix directory ownership (lbalhar, #202). (clumens)

  - firewall: add --use-system-defaults arg to command (#1526486) (dusty)

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 dcantrel

6 years ago