summaryrefslogtreecommitdiffstats
path: root/repos/autotools/autotools-latest/autoconf/autoconf.spec
diff options
context:
space:
mode:
Diffstat (limited to 'repos/autotools/autotools-latest/autoconf/autoconf.spec')
-rw-r--r--repos/autotools/autotools-latest/autoconf/autoconf.spec27
1 files changed, 12 insertions, 15 deletions
diff --git a/repos/autotools/autotools-latest/autoconf/autoconf.spec b/repos/autotools/autotools-latest/autoconf/autoconf.spec
index 3c2ad4e..1c40a93 100644
--- a/repos/autotools/autotools-latest/autoconf/autoconf.spec
+++ b/repos/autotools/autotools-latest/autoconf/autoconf.spec
@@ -7,7 +7,8 @@
Summary: A GNU tool for automatically configuring source code
Name: %{?scl_prefix}autoconf
Version: 2.69
-Release: 7%{?dist}
+Release: 8%{?dist}
+Group: Development/Tools
License: GPLv2+ and GFDL
Source0: http://ftpmirror.gnu.org/autoconf/autoconf-%{version}.tar.gz
URL: http://www.gnu.org/software/autoconf/
@@ -25,14 +26,7 @@ BuildRequires: %{?scl_prefix}m4, help2man
Requires: %{?scl_prefix}m4
BuildRequires: emacs
-%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
-BuildRequires: perl-macros
-%else
-%if 0%{?rhel} != 5
-# There is no macro filtering support on RHEL 5
-BuildRequires: perl-devel
-%endif
-%endif
+%{?_compat_br_perl_macros}
BuildRequires: perl(Data::Dumper)
# from f19, Text::ParseWords is not the part of 'perl' package
@@ -80,18 +74,18 @@ their use.
%build
-scl enable autotools-latest - <<\EOF
+%{?scl_enable}
%configure
# not parallel safe
make
-EOF
+%{?scl_disable}
%check
%if %{with check}
-scl enable autotools-latest - <<\EOF
+%{?scl_enable}
make check # TESTSUITEFLAGS='1-198 200-' # will disable nr. 199.
-EOF
+%{?scl_disable}
%endif
@@ -101,10 +95,10 @@ EOF
%if 0%{?rhel} == 5
rm -rf %{buildroot}
%endif
-scl enable autotools-latest - <<\EOF
+%{?scl_enable}
make install DESTDIR=%{buildroot}
-EOF
mkdir -p %{buildroot}/share
+%{?scl_disable}
# Don't %%exclude this in %%files as it is not generated on RHEL7
rm -rf %{buildroot}%{_infodir}/dir
@@ -136,6 +130,9 @@ fi
%doc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO
%changelog
+* Mon Oct 10 2016 Pavel Raiskup <praiskup@redhat.com> - 2.69-8
+- simplify and unify with autotools-git
+
* Sun Oct 09 2016 Pavel Raiskup <praiskup@redhat.com> - 2.69-7
- bump: rebuild september 2016