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

file modified
+8 -4

@@ -3,7 +3,7 @@ 

  Summary: Mercurial -- a distributed SCM

  Name: mercurial

  Version: 4.4.2

- Release: 1%{?dist}

+ Release: 2%{?dist}

  

  # Release: 1.rc1%{?dist}

  

@@ -19,9 +19,9 @@ 

  #Patch0: mercurial-i18n.patch

  #Patch1: docutils-0.8.patch

  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

- BuildRequires: python python-devel bash-completion

- BuildRequires: emacs-nox emacs-el pkgconfig gettext python-docutils

- Requires: python emacs-filesystem

+ BuildRequires: python2 python2-devel bash-completion

+ BuildRequires: emacs-nox emacs-el pkgconfig gettext python2-docutils

+ Requires: python2 emacs-filesystem

  Provides: hg = %{version}-%{release}

  Obsoletes: emacs-mercurial <= 3.4.1, emacs-mercurial-el <= 3.4.1

  Provides: emacs-mercurial <= 3.4.1, emacs-mercurial-el <= 3.4.1

@@ -155,6 +155,10 @@ 

  ##cd tests && %{__python} run-tests.py

  

  %changelog

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

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Fri Dec 29 2017 Neal Becker <nbecker@nbecker2> - 4.4.2-1

  - Update to 4.4.2

  

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.

This PR was opened automatically, for source code see here

Pull-Request has been merged by churchyard

2 years ago