From 9ff1d8eaad89ad89eef9f1c66329f35e40d25b1d Mon Sep 17 00:00:00 2001 From: tommat Date: Thu, 8 Feb 2007 11:53:48 +0000 Subject: [PATCH] - allow build with autoconf > 2.60 - fix build on sparc multilib - rel 2 Changed files: automake.spec -> 1.124 --- automake.spec | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/automake.spec b/automake.spec index c81d71b..872ebc1 100644 --- a/automake.spec +++ b/automake.spec @@ -1,3 +1,7 @@ +# +# Conditional build: +%bcond_without regeneration # without full regeneration +# %include /usr/lib/rpm/macros.perl Summary: GNU automake - Makefile configuration tools Summary(de): GNU automake - Makefile-Konfigurationstools @@ -11,7 +15,7 @@ Summary(tr): Makefile yap Summary(uk): GNU automake - ¦ÎÓÔÒÕÍÅÎÔÉ ÄÌÑ Á×ÔÏÍÁÔÉÞÎϧ ÇÅÎÅÒÁæ§ Makefile'¦× Name: automake Version: 1.10 -Release: 1 +Release: 2 Epoch: 1 License: GPL Group: Development/Building @@ -22,7 +26,12 @@ Patch1: %{name}-man.patch Patch2: %{name}-no_versioned_dir.patch Patch3: %{name}-morearchs.patch URL: http://sources.redhat.com/automake/ +%if %{with regeneration} BuildRequires: autoconf >= 2.60 +BuildRequires: automake +%else +BuildRequires: autoconf = 2.60 +%endif BuildRequires: rpm-perlprov BuildRequires: texinfo >= 4.7 Requires(pre): fileutils @@ -90,7 +99,13 @@ Makefile' %patch3 -p1 %build +%if %{with regeneration} +%{__aclocal} -I m4 +%endif %{__autoconf} +%if %{with regeneration} +%{__automake} +%endif %configure %{__make} -- 2.44.0