Invoke autoreconf and configure in %conf rather than in %build

This commit is contained in:
Benjamin A. Beasley 2024-10-31 14:52:22 -04:00
commit 41fc405cf1

View file

@ -126,7 +126,7 @@ awk '/^ \* / { print substr($0, 4); } /^ \*\// { exit }' arpwatch.c |
tee LICENSE
%build
%conf
%if %{with autoreconf}
autoreconf --force --install --verbose
%endif
@ -139,6 +139,8 @@ export CPPFLAGS="${CPPFLAGS-} -DTIME_WITH_SYS_TIME=1"
%configure --with-sendmail=/usr/sbin/sendmail PYTHON=%{python3}
%build
%make_build ARPDIR=%{pkgstatedir}