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

file modified
+10 -6
@@ -1,6 +1,6 @@ 

  Name:		mcomix

  Version:	1.2.1

- Release:	4%{?dist}

+ Release:	5%{?dist}

  Summary:	User-friendly, customizable image viewer for comic books

  

  Group:		Amusements/Graphics
@@ -14,17 +14,17 @@ 

  BuildArch:	noarch

  BuildRequires:	gettext

  BuildRequires:	pygtk2

- BuildRequires:	python-imaging

- BuildRequires:	python-setuptools

+ BuildRequires:	python2-imaging

+ BuildRequires:	python2-setuptools

  BuildRequires:	python2-devel

  BuildRequires:	%{_bindir}/desktop-file-install

  BuildRequires:	%{_bindir}/appstream-util

  # The following BR is really needed for gconf2 macros

  BuildRequires:	GConf2

  Requires:	pygtk2

- Requires:	python-imaging

- Requires:	python-setuptools

- Requires:	python-subprocess32

+ Requires:	python2-imaging

+ Requires:	python2-setuptools

+ Requires:	python2-subprocess32

  Requires(pre):	GConf2

  Requires(preun):	GConf2

  Requires(post):	GConf2
@@ -162,6 +162,10 @@ 

  

  

  %changelog

+ * Tue Jan 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.1-5

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_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.
The local mock build passed, for Koji scratch build please see simple-koji-ci result.

Note: please do not backport this to f26, f27 branch(es) 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 churchyard

6 years ago