Invoke autoreconf and configure in %conf rather than in %build
This commit is contained in:
parent
d9a97e803f
commit
41fc405cf1
1 changed files with 3 additions and 1 deletions
|
|
@ -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}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue