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

file modified
+6 -2
@@ -17,7 +17,7 @@ 

  Summary: Builds packages inside chroots

  Name: mock

  Version: 1.4.8

- Release: 1%{?dist}

+ Release: 2%{?dist}

  License: GPLv2+

  # Source is created by

  # git clone https://github.com/rpm-software-management/mock.git
@@ -70,7 +70,7 @@ 

  Requires: python >= 2.7

  Requires: rpm-python

  %endif

- BuildRequires: python-devel

+ BuildRequires: python2-devel

  %if 0%{?fedora} || 0%{?mageia}

  Requires: dnf

  Suggests: yum
@@ -230,6 +230,10 @@ 

  %endif

  

  %changelog

+ * Tue Jan 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.4.8-2

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Fri Dec 22 2017 Miroslav Suchý <msuchy@redhat.com> 1.4.8-1

  - orphanskill: send SIGKILL when SIGTERM is not enough [RHBZ#1495214]

  - pass --non-unique to usermod because of old targets

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

Pull-Request has been merged by churchyard

6 years ago