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}