[automake] spec: use %configure macro instead of ./configure
Pavel Raiskup
praiskup at fedoraproject.org
Wed Sep 10 12:11:46 UTC 2014
commit 694b23f45ed0311ccb72a9e47fe1e07793967024
Author: Pavel Raiskup <praiskup at redhat.com>
Date: Wed Sep 10 14:05:51 2014 +0200
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
automake.spec | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
---
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 <praiskup at redhat.com> - 1.14.1-6
+- from now (#991613 is fixed), use %%configure macro together with
+ disabled %%_configure_gnuconfig_hack
+
* Wed Sep 10 2014 Pavel Raiskup <praiskup at redhat.com> - 1.14.1-5
- update config.{guess,sub} to gnuconfig git HEAD
More information about the scm-commits
mailing list