#1 Update Python 2 dependency declarations to new packaging standards
Merged 6 years ago by msuchy. Opened 6 years ago by ishcherb.
rpms/ ishcherb/rhn-custom-info pyambiguous  into  master

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

  Name: rhn-custom-info

  Summary: Set and list custom values for RHN-enabled machines

  Version: 5.4.35

- Release: 1%{?dist}

+ Release: 2%{?dist}

  Group: Applications/System

  License: GPLv2

  Source0: https://github.com/spacewalkproject/spacewalk/archive/%{name}-%{version}.tar.gz

  URL:     https://github.com/spacewalkproject/spacewalk

  BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

  BuildArch: noarch

- BuildRequires: python-devel

+ BuildRequires: python2-devel

  %if 0%{?fedora} >= 23

  Requires: python3-rhnlib

  %else
@@ -63,6 +63,10 @@ 

  %{_mandir}/man8/rhn-custom-info.*

  

  %changelog

+ * Tue Jan 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 5.4.35-2

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Tue Jul 18 2017 Michael Mraka <michael.mraka@redhat.com> 5.4.35-1

  - move version and release before sources

  

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

This is not needed as upstream moved to python3 completely for Fedora. But I am not sure when next release will be. So merging will make no harm.

Pull-Request has been merged by msuchy

6 years ago