Use autoreconf before doing build

automake < 1.16 is not available on rawhide, so do autoreconf before
doing a build.
This commit is contained in:
Siteshwar Vashisht 2018-03-14 15:33:23 +01:00
parent 10ca0aa9d9
commit 33325c0b7f

View File

@ -26,7 +26,7 @@ BuildRequires: tcllib
%endif %endif
# Needed for rfkill patch as it modifies Makefile.am # Needed for rfkill patch as it modifies Makefile.am
# It should be removed while rebasing to bash-completion-2.8 # It should be removed while rebasing to bash-completion-2.8
BuildRequires: automake < 1.16 BuildRequires: automake
Requires: bash >= 4.1 Requires: bash >= 4.1
%description %description
@ -39,7 +39,7 @@ of the programmable completion feature of bash.
%build %build
# Needed for rfkill patch as it modifies Makefile.am # Needed for rfkill patch as it modifies Makefile.am
# It should be removed while rebasing to bash-completion-2.8 # It should be removed while rebasing to bash-completion-2.8
aclocal autoreconf -fi -v
%configure %configure
%make_build %make_build