From e8bc2e38cddc4b2d07cc3440d7fe5961fadf37d492a8ce1555b1e3312ee5910b Mon Sep 17 00:00:00 2001 From: Philipp Thomas Date: Wed, 4 Jul 2012 09:03:51 +0000 Subject: [PATCH] Accepting request 127065 from home:coolo:branches:openSUSE:Factory - make sure we still define $(mkdir_p) for the time being OBS-URL: https://build.opensuse.org/request/show/127065 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/automake?expand=0&rev=19 --- automake-add-mkdir_p-temporarly.patch | 12 ++++++++++++ automake-require_file.patch | 6 +++--- automake.changes | 5 +++++ automake.spec | 10 ++++++++-- 4 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 automake-add-mkdir_p-temporarly.patch diff --git a/automake-add-mkdir_p-temporarly.patch b/automake-add-mkdir_p-temporarly.patch new file mode 100644 index 0000000..dab934c --- /dev/null +++ b/automake-add-mkdir_p-temporarly.patch @@ -0,0 +1,12 @@ +Index: automake-1.12.1/m4/init.m4 +=================================================================== +--- automake-1.12.1.orig/m4/init.m4 2012-06-01 15:47:10.000000000 +0200 ++++ automake-1.12.1/m4/init.m4 2012-06-01 15:47:10.000000000 +0200 +@@ -82,6 +82,7 @@ AM_MISSING_PROG([MAKEINFO], [makeinfo]) + AC_REQUIRE([AM_PROG_INSTALL_SH])dnl + AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl + AC_REQUIRE([AC_PROG_MKDIR_P])dnl ++AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl + # We need awk for the "check" target. The system "awk" is bad on + # some platforms. + AC_REQUIRE([AC_PROG_AWK])dnl diff --git a/automake-require_file.patch b/automake-require_file.patch index b79c4c8..2d46cc8 100644 --- a/automake-require_file.patch +++ b/automake-require_file.patch @@ -1,8 +1,8 @@ Index: automake.in =================================================================== ---- automake.in.orig 2012-04-21 16:38:05.000000000 +0200 -+++ automake.in 2012-04-26 16:31:55.925021393 +0200 -@@ -7709,12 +7709,14 @@ sub required_file_check_or_copy ($$$) +--- automake.in.orig 2012-06-01 15:47:09.000000000 +0200 ++++ automake.in 2012-07-04 09:17:39.816973055 +0200 +@@ -7751,12 +7751,14 @@ sub required_file_check_or_copy ($$$) my $fullfile = "$dir/$file"; my $found_it = 0; my $dangling_sym = 0; diff --git a/automake.changes b/automake.changes index ea7c8f9..56afc3c 100644 --- a/automake.changes +++ b/automake.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 4 07:21:17 UTC 2012 - coolo@suse.com + +- make sure we still define $(mkdir_p) for the time being + ------------------------------------------------------------------- Wed Jun 27 15:46:00 UTC 2012 - tom.mbrt@googlemail.com diff --git a/automake.spec b/automake.spec index 75d5180..35daaed 100644 --- a/automake.spec +++ b/automake.spec @@ -17,7 +17,7 @@ Name: automake -BuildRequires: autoconf +BuildRequires: autoconf >= 2.69 BuildRequires: bison BuildRequires: gcc-c++ BuildRequires: gcc-fortran @@ -29,7 +29,7 @@ Requires: libtool BuildRequires: flex Requires: flex %endif -Requires: autoconf >= 2.62 +Requires: autoconf >= 2.69 Requires: info Version: 1.12.1 Release: 0 @@ -42,6 +42,10 @@ Source: automake-%{version}.tar.xz Source1: automake-rpmlintrc Patch1: automake-SuSE.patch Patch3: automake-require_file.patch +# this patch makes sure packages that do not call AM_PROG_MKDIR, but use $(mkdir_p) work +# this patch should be removed after 12.2 is done, packages need to be fixed to use $(MKDIR_P) +# or avoid autoreconf at all +Patch4: automake-add-mkdir_p-temporarly.patch BuildArch: noarch %description @@ -54,8 +58,10 @@ definitions (with rules occasionally thrown in). The generated %setup -q -n automake-%{version} %patch1 %patch3 +%patch4 -p1 %build +sh bootstrap.sh %configure --docdir=%{_docdir}/%{name} make %{?_smp_mflags}