From a1a2c6773f83313c532b834620778a0dcc918c8c1210b832dff89a0de4759574 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Thu, 26 Aug 2010 15:14:32 +0000 Subject: [PATCH] - dropped autoconf version requirement (it builds just fine with other versions) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=77 --- python-2.7-acrequire.patch | 13 +++++++++++++ python-base.changes | 1 + python-base.spec | 2 ++ python.spec | 6 ++---- 4 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 python-2.7-acrequire.patch diff --git a/python-2.7-acrequire.patch b/python-2.7-acrequire.patch new file mode 100644 index 0000000..8d785c1 --- /dev/null +++ b/python-2.7-acrequire.patch @@ -0,0 +1,13 @@ +Index: Python-2.7/configure.in +=================================================================== +--- Python-2.7.orig/configure.in ++++ Python-2.7/configure.in +@@ -12,7 +12,7 @@ m4_define([version_required], + [], + [m4_fatal([Autoconf version $1 is required for Python], 63)]) + ]) +-version_required(2.65) ++dnl version_required(2.65) + + AC_REVISION($Revision: 81582 $) + AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/) diff --git a/python-base.changes b/python-base.changes index 0d48d75..3fc9569 100644 --- a/python-base.changes +++ b/python-base.changes @@ -2,6 +2,7 @@ Thu Aug 26 13:45:19 UTC 2010 - jmatejek@novell.com - fixed distutils test +- dropped autoconf version requirement (it builds just fine with other versions) ------------------------------------------------------------------- Thu Aug 26 11:37:28 UTC 2010 - jmatejek@novell.com diff --git a/python-base.spec b/python-base.spec index dbc15dd..ffa6509 100644 --- a/python-base.spec +++ b/python-base.spec @@ -48,6 +48,7 @@ Patch5: python-2.7rc2-configure.patch Patch6: python-2.6-gettext-plurals.patch Patch7: python-2.6.5-distutils_test_path.patch Patch8: sparc_longdouble.patch +Patch9: python-2.7-acrequire.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define python_version %(echo %{version} | head -c 3) @@ -135,6 +136,7 @@ Authors: %patch6 %patch7 -p1 %patch8 -p1 +%patch9 -p1 # some cleanup find . -name .cvsignore -type f -print0 | xargs -0 rm -f diff --git a/python.spec b/python.spec index 2ebe468..c72dfe6 100644 --- a/python.spec +++ b/python.spec @@ -50,6 +50,7 @@ Patch4: python-2.5.1-sqlite.patch Patch5: python-2.7rc2-configure.patch Patch6: python-2.6b3-curses-panel.patch Patch7: sparc_longdouble.patch +Patch8: python-2.7-acrequire.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define python_version %(echo %{version} | head -c 3) @@ -177,13 +178,10 @@ Authors: %patch2 -p1 %patch3 %patch4 -#%if 0%{?suse_version} -#%endif %patch5 -%if %suse_version > 1100 %patch6 -%endif %patch7 -p1 +%patch8 -p1 # some cleanup find . -name .cvsignore -type f -print0 | xargs -0 rm -f find . -name CVS -type d -print0 | xargs -0 rm -rf