From 694b23f45ed0311ccb72a9e47fe1e07793967024 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Sep 10 2014 12:11:09 +0000 Subject: spec: use %configure macro instead of ./configure That is allowed now because the %_configure_gnuconfig_hack is available in redhat-rpm-config - that way we may disable replacing of gnuconfig files (desired for automake). Related: #991613 Version: 1.14.1-6 --- diff --git a/automake.spec b/automake.spec index 4ad38aa..0c60b5f 100644 --- a/automake.spec +++ b/automake.spec @@ -6,7 +6,7 @@ Summary: A GNU tool for automatically creating Makefiles Name: automake Version: %{api_version}.1 -Release: 5%{?dist} +Release: 6%{?dist} # docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT License: GPLv2+ and GFDL and Public Domain and MIT @@ -87,11 +87,10 @@ cp %{SOURCE3} $file perl -pi -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" lib/config.sub %build -# TODO: use %%configure once #991613 -./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \ - --bindir=%{_bindir} --datadir=%{_datadir} --libdir=%{_libdir} \ - --docdir=%{_pkgdocdir} --disable-silent-rules -make V=0 %{?_smp_mflags} +# disable replacing config.guess and config.sub from redhat-rpm-config +%global _configure_gnuconfig_hack 0 +%configure +make %{?_smp_mflags} cp m4/acdir/README README.aclocal cp contrib/multilib/README README.multilib @@ -124,6 +123,10 @@ fi %{_mandir}/man1/* %changelog +* Wed Sep 10 2014 Pavel Raiskup - 1.14.1-6 +- from now (#991613 is fixed), use %%configure macro together with + disabled %%_configure_gnuconfig_hack + * Wed Sep 10 2014 Pavel Raiskup - 1.14.1-5 - update config.{guess,sub} to gnuconfig git HEAD