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

file modified
+11 -7
@@ -5,14 +5,14 @@ 

  Summary: GUI test tool and automation framework

  Name: dogtail

  Version: 0.9.9

- Release: 9%{?dist}

+ Release: 10%{?dist}

  License: GPLv2

  URL: http://dogtail.fedorahosted.org/

  Source0: http://fedorahosted.org/released/dogtail/%{name}-%{version}.tar.gz

  BuildArch: noarch


  BuildRequires: python2-devel

- BuildRequires: python-setuptools

+ BuildRequires: python2-setuptools

  BuildRequires: desktop-file-utils


  %global _description\
@@ -23,12 +23,12 @@ 


  %package -n python2-dogtail

  Summary: %summary

- Requires: pyatspi

- Requires: pygobject3

- Requires: pycairo

- Requires: rpm-python

+ Requires: python2-pyatspi

+ Requires: python2-gobject

+ Requires: python2-cairo

+ Requires: python2-rpm

  Requires: xorg-x11-xinit

- Requires: python-imaging

+ Requires: python2-imaging

  Requires: hicolor-icon-theme

  %{?python_provide:%python_provide python2-dogtail}

  # Remove before F30
@@ -125,6 +125,10 @@ 

  %endif # with_python3



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

+ - 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> - 0.9.9-9

  - 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

rebased onto dd696f3

3 years ago

Pull-Request has been merged by vhumpa

3 years ago