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

file modified
+7 -3
@@ -2,7 +2,7 @@ 


  Name:		glances	

  Version:	2.11.1

- Release:	2%{?dist}

+ Release:	3%{?dist}

  Summary:	%{sum}


  Group:		Applications/System		
@@ -11,7 +11,7 @@ 

  Source0:	https://github.com/nicolargo/glances/archive/v%{version}.tar.gz

  BuildArch:	noarch

  BuildRequires:  python2-devel python3-devel

- BuildRequires:	python-setuptools python3-setuptools

+ BuildRequires:	python2-setuptools python3-setuptools

  BuildRequires:	python2-psutil >= 2.0.0

  BuildRequires:	python3-psutil >= 2.0.0

@@ -29,7 +29,7 @@ 


  %package -n python2-%{name}

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

- Requires:	python-setuptools

+ Requires:	python2-setuptools

  Requires:	python2-psutil >= 2.0.0

  Summary:        %{sum}

  Provides:	%{name} = %{version}-%{release}
@@ -83,6 +83,10 @@ 




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

+ - Update Python 2 dependency declarations to new packaging standards

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


  * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-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

rebased onto 1687277

4 years ago

rebased onto d804a85

4 years ago

Pull-Request has been merged by ishcherb

4 years ago