Also rebuild aclocal as its version is recorded in the generated scripts

This commit is contained in:
Alexander Bokovoy 2018-05-02 12:18:31 +03:00
parent 00f4635acb
commit 21c066104d

View File

@ -975,8 +975,8 @@ find \
-exec sed -i -e '1 s|^#!.*\bpython[^ ]*|#!%{__python2}|' {} \; -exec sed -i -e '1 s|^#!.*\bpython[^ ]*|#!%{__python2}|' {} \;
%endif # ! with_python3 %endif # ! with_python3
aclocal --force
autoconf --force autoconf --force
%configure --with-vendor-suffix=-%{release} \ %configure --with-vendor-suffix=-%{release} \
%{enable_server_option} \ %{enable_server_option} \
%{with_ipatests_option} \ %{with_ipatests_option} \
@ -988,6 +988,7 @@ autoconf --force
%if 0%{?with_python3} %if 0%{?with_python3}
export PYTHON=%{__python3} export PYTHON=%{__python3}
pushd %{_builddir}/freeipa-%{version}-python3 pushd %{_builddir}/freeipa-%{version}-python3
aclocal --force
autoconf --force autoconf --force
%configure --with-vendor-suffix=-%{release} \ %configure --with-vendor-suffix=-%{release} \
%{enable_server_option} \ %{enable_server_option} \