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

file modified
+10 -6
@@ -9,7 +9,7 @@ 

  

  Name:        spacecmd

  Version:     2.7.15

- Release:     2%{?dist}

+ Release:     3%{?dist}

  Summary:     Command-line interface to Spacewalk and Red Hat Satellite servers

  

  Group:       Applications/System
@@ -21,10 +21,10 @@ 

  %if 0%{?pylint_check}

  BuildRequires: spacewalk-pylint

  %endif

- BuildRequires: python

- BuildRequires: python-devel

- BuildRequires: python-simplejson

- BuildRequires: rpm-python

+ BuildRequires: python2

+ BuildRequires: python2-devel

+ BuildRequires: python2-simplejson

+ BuildRequires: python2-rpm

  %if 0%{?rhel} == 5

  BuildRequires: python-json

  %endif
@@ -32,7 +32,7 @@ 

  %if 0%{?rhel} == 5

  Requires:    python-simplejson

  %endif

- Requires:    python

+ Requires:    python2

  Requires:    file

  

  %if 0%{?suse_version}
@@ -88,6 +88,10 @@ 

  %doc %{_mandir}/man1/spacecmd.1.gz

  

  %changelog

+ * Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.7.15-3

+ - 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> - 2.7.15-2

  - 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

I think this PR should be closed as it does not apply to us as rhn-client-tools for fedora are built from https://github.com/spacewalkproject/spacewalk/blob/master/spacecmd/spacecmd.spec and the changes in PR are part of python2 package which is not built on Fedora 28.

Pull-Request has been closed by ishcherb

5 years ago