rpm.spec: bump python dependency to 2.6
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 08 May 2015 23:28:33 -0700
changeset 25008 7940c538db83
parent 25007 7c324f65e4ef
child 25009 e1fb276d4619
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.
contrib/mercurial.spec
--- a/contrib/mercurial.spec	Sun May 10 13:48:10 2015 -0400
+++ b/contrib/mercurial.spec	Fri May 08 23:28:33 2015 -0700
@@ -37,8 +37,8 @@
 %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