[PATCH 1 of 2 DROP-PYTHON-2.4] rpm.spec: bump python dependency to 2.6
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Sat May 9 06:54:54 UTC 2015
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1431152913 25200
# Fri May 08 23:28:33 2015 -0700
# Node ID 16b07284fef670b26815b6533b742b21f40fedb1
# Parent 17ba4ccd20b48511b3d06ab47fb1b2faf31410d7
rpm.spec: bump python dependency to 2.6
We are about to drop 2.4 requirement in Mercurial's setup.py, we bump rpm
dependency first for the sake of smaller changeset. Clean up of the spec file
can come after the dependency is actually dropped.
diff --git a/contrib/mercurial.spec b/contrib/mercurial.spec
--- a/contrib/mercurial.spec
+++ b/contrib/mercurial.spec
@@ -35,12 +35,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version
BuildRequires: make, gcc, gettext
%if "%{?withpython}"
BuildRequires: readline-devel, openssl-devel, ncurses-devel, zlib-devel, bzip2-devel
%else
-BuildRequires: python >= 2.4, python-devel, python-docutils >= 0.5
-Requires: python >= 2.4
+BuildRequires: python >= 2.6, python-devel, python-docutils >= 0.5
+Requires: python >= 2.6
%endif
# The hgk extension uses the wish tcl interpreter, but we don't enforce it
#Requires: tk
%description
More information about the Mercurial-devel
mailing list