Unconditionally run autoreconf

This commit is contained in:
Richard W.M. Jones 2024-04-11 17:55:14 +01:00
parent c66f3a4d68
commit aae2f9ce73

View File

@ -1,14 +1,6 @@
# If we should verify tarball signature with GPGv2.
%global verify_tarball_signature 1
# If there are patches which touch autotools files, set this to 1.
%if !0%{?rhel}
%global patches_touch_autotools %{nil}
%else
# On RHEL the downstream patches always touch autotools files.
%global patches_touch_autotools %{nil}
%endif
# The source directory.
%global source_directory 2.5-development
@ -48,10 +40,7 @@ ExcludeArch: %{ix86}
ExclusiveArch: x86_64
%endif
%if 0%{patches_touch_autotools}
BuildRequires: autoconf, automake, libtool
%endif
BuildRequires: make
BuildRequires: /usr/bin/pod2man
BuildRequires: gcc
@ -211,9 +200,7 @@ for %{name}.
%endif
%autosetup -p1
%if 0%{patches_touch_autotools}
autoreconf -i
%endif
autoreconf -fiv
%build