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
This commit is contained in:
parent
58eeb75b2f
commit
694b23f45e
@ -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@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@redhat.com> - 1.14.1-5
|
||||
- update config.{guess,sub} to gnuconfig git HEAD
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user