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

file modified
+12 -8
@@ -2,7 +2,7 @@ 

  

  Name: rho

  Version: 0.0.33

- Release: 1%{?dist}

+ Release: 2%{?dist}

  Summary: An SSH system profiler

  

  Group: Applications/Internet
@@ -11,22 +11,22 @@ 

  Source0: http://chambridge.fedorapeople.org/rho/rho-0.0.33-1.tar.gz

  

  BuildArch: noarch

- BuildRequires: python-devel

+ BuildRequires: python2-devel

  %{?fedora:BuildRequires: python2-setuptools}

  %{?rhel:BuildRequires: python-setuptools}

  BuildRequires: pandoc

- Requires: python-netaddr

+ Requires: python2-netaddr

  %{?fedora:BuildRequires: python2-crypto}

  %{?rhel:BuildRequires: python-crypto}

  Requires: ansible

- Requires: pexpect

- Requires: python-six

- Requires: python-enum34

- Requires: PyYAML

+ Requires: python2-pexpect

+ Requires: python2-six

+ Requires: python2-enum34

+ Requires: python2-pyyaml

  %{?rhel:Requires: epel-release}

  Requires: python2-future

  Requires: python2-sh

- Requires: pyxdg

+ Requires: python2-pyxdg

  

  %description

  Rho is a tool for scanning your network, logging into systems via SSH, and
@@ -59,6 +59,10 @@ 

  %{_datadir}/ansible/%{name}/roles/*

  

  %changelog

+ * Thu Apr 19 2018 Iryna Shcherbina <shcherbina.iryna@gmail.com> - 0.0.33-2

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Wed Mar 21 2018 Noah Lavine <nlavine@redhat.com> 0.0.33-1

  - Bug fix to Ansible task bash globbing (nlavine@redhat.com)

  - Bug fix for unicode truncation (chambrid@redhat.com)

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 branches, 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 ishcherb

5 years ago