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
|
Summary: A GNU tool for automatically creating Makefiles
|
||||||
Name: automake
|
Name: automake
|
||||||
Version: %{api_version}.1
|
Version: %{api_version}.1
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
|
|
||||||
# docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT
|
# docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT
|
||||||
License: GPLv2+ and GFDL and Public Domain and 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
|
perl -pi -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" lib/config.sub
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# TODO: use %%configure once #991613
|
# disable replacing config.guess and config.sub from redhat-rpm-config
|
||||||
./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
|
%global _configure_gnuconfig_hack 0
|
||||||
--bindir=%{_bindir} --datadir=%{_datadir} --libdir=%{_libdir} \
|
%configure
|
||||||
--docdir=%{_pkgdocdir} --disable-silent-rules
|
make %{?_smp_mflags}
|
||||||
make V=0 %{?_smp_mflags}
|
|
||||||
cp m4/acdir/README README.aclocal
|
cp m4/acdir/README README.aclocal
|
||||||
cp contrib/multilib/README README.multilib
|
cp contrib/multilib/README README.multilib
|
||||||
|
|
||||||
|
@ -124,6 +123,10 @@ fi
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Sep 10 2014 Pavel Raiskup <praiskup@redhat.com> - 1.14.1-5
|
||||||
- update config.{guess,sub} to gnuconfig git HEAD
|
- update config.{guess,sub} to gnuconfig git HEAD
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue