From 41fc405cf17df4ab4e5a4ea1022bf3cbd37ecc10 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 31 Oct 2024 14:52:22 -0400 Subject: [PATCH] Invoke autoreconf and configure in %conf rather than in %build --- arpwatch.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arpwatch.spec b/arpwatch.spec index 702b21c..aaab629 100644 --- a/arpwatch.spec +++ b/arpwatch.spec @@ -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}