]> git.pld-linux.org Git - packages/python.git/commitdiff
- updated ac_fixes patch to accept autoconf 2.65+, not just only 2.65
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 11 Jul 2010 18:26:50 +0000 (18:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-ac_fixes.patch -> 1.8
    python.spec -> 1.376

python-ac_fixes.patch
python.spec

index bd8436f7205445f8547161dd28de999e557e03ce..2e091a4f9514f36a465da0fe80715c38a4f6199a 100644 (file)
@@ -38,3 +38,21 @@ diff -Nur Python-2.5.2.orig/configure.in Python-2.5.2/configure.in
  
  # Install the include files
  INCLDIRSTOMAKE=$(INCLUDEDIR) $(CONFINCLUDEDIR) $(INCLUDEPY) $(CONFINCLUDEPY)
+--- Python-2.7/configure.in.orig       2010-07-09 10:02:40.053393415 +0200
++++ Python-2.7/configure.in    2010-07-09 20:22:36.345392577 +0200
+@@ -5,14 +5,7 @@
+ # Set VERSION so we only need to edit in one place (i.e., here)
+ m4_define(PYTHON_VERSION, 2.7)
+-dnl Some m4 magic to ensure that the configure script is generated
+-dnl by the correct autoconf version.
+-m4_define([version_required],
+-[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]), [$1]), 0,
+-       [],
+-       [m4_fatal([Autoconf version $1 is required for Python], 63)])
+-])
+-version_required(2.65)
++AC_PREREQ([2.65])
+ AC_REVISION($Revision$)
+ AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/)
index 665f513b55a64e1ee3258d598082e245f9a68fdf..a5f49ab717f170ebeb8315fcdb52d68a29ba68c4 100644 (file)
@@ -58,7 +58,7 @@ Patch3:               %{name}-lib64.patch
 Patch4:                %{name}-noarch_to_datadir.patch
 Patch5:                %{name}-verbose.patch
 URL:           http://www.python.org/
-BuildRequires: autoconf >= 2.61
+BuildRequires: autoconf >= 2.65
 BuildRequires: bluez-libs-devel
 BuildRequires: bzip2-devel
 BuildRequires: db-devel >= 4
This page took 0.126084 seconds and 4 git commands to generate.