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

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

  Name:		blueberry

  Version:	1.1.20

- Release:	3%{?dist}

+ Release:	4%{?dist}

  Summary:	Bluetooth configuration tool

  

  License:	GPLv3+
@@ -15,15 +15,21 @@ 

  

  Requires:	bluez-obexd

  Requires:	bluez-tools

- Requires:	dbus-python

  Requires:	filesystem

  Requires:	gnome-bluetooth

  Requires:	hicolor-icon-theme

- Requires:	pygobject3

- Requires:	python-setproctitle

  Requires:	rfkill

  Requires:	wmctrl

  

+ %if (0%{?fedora} && 0%{?fedora} <= 27) || (0%{?rhel} && 0%{?rhel} <= 7)

+ Requires:	dbus-python

+ Requires:	pygobject3

+ Requires:	python-setproctitle

+ %else

+ Requires:	python2-dbus

+ Requires:	python2-gobject

+ Requires:	python2-setproctitle

+ %endif

  

  %description

  %{summary} depending on gnome-bluetooth.
@@ -121,6 +127,10 @@ 

  

  

  %changelog

+ * Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.1.20-4

+ - 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> - 1.1.20-3

  - 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.

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

Sorry this pr isn't usable as it would break epel7 and f26 builds, please add conditionals

1 new commit added

  • Conditionalize requirements for epel and f26/f27
6 years ago

rebased onto 9284691

6 years ago

Pull-Request has been merged by leigh123linux

6 years ago

Sorry it took me a while to do it.