Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-01-09 19:10:38 +01:00
parent 635899efd3
commit b3a51aea51

View File

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