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

file modified
+8 -4
@@ -5,7 +5,7 @@ 

  

  Name:           clufter

  Version:        0.77.0

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Group:          System Environment/Base

  Summary:        Tool/library for transforming/analyzing cluster configuration formats

  License:        GPLv2+
@@ -16,8 +16,8 @@ 

  

  # Python 2 related

  BuildRequires:  python2-devel

- BuildRequires:  python-setuptools

- BuildRequires:  python-lxml

+ BuildRequires:  python2-setuptools

+ BuildRequires:  python2-lxml

  

  # Python 3 related

  BuildRequires:  python3-devel
@@ -81,7 +81,7 @@ 

  Provides:       %{name}-lib = %{version}-%{release}

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

  Requires:       %{name}-bin = %{version}-%{release}

- Requires:       python-lxml

+ Requires:       python2-lxml

  BuildArch:      noarch

  

  %description -n python2-%{name}
@@ -387,6 +387,10 @@ 

  %{_datarootdir}/%{name}/ext-plugins/lib-pcs

  

  %changelog

+ * Wed Jan 03 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.77.0-2

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Sun Nov 12 2017 Jan Pokorný <jpokorny+rpm-clufter@fedoraproject.org> - 0.77.0-1

  - bump upstream package, see https://pagure.io/clufter/releases

  

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.
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 closed by jpokorny

6 years ago