From b3a51aea51ee7f3fcccda4afaab7f981ad106a0a Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Tue, 9 Jan 2018 19:10:38 +0100 Subject: [PATCH] Update Python 2 dependency declarations to new packaging standards --- mercurial.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/mercurial.spec b/mercurial.spec index 71cad6f..fc47097 100644 --- a/mercurial.spec +++ b/mercurial.spec @@ -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 @@ Source1: mercurial-site-start.el #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 @@ rm -rf $RPM_BUILD_ROOT ##cd tests && %{__python} run-tests.py %changelog +* Tue Jan 09 2018 Iryna Shcherbina - 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 - 4.4.2-1 - Update to 4.4.2