Move %configure and associated steps to %build

%configure and friends invoke code that is part of the package
and should be in %build.

If https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/172
is merged, %configure would start throwing an error. This change
is proactively to avoid a later build failure. No rebuild will
be done.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-01-25 15:35:59 +01:00
parent c22084a0ef
commit 40617ad1ca

View File

@ -25,11 +25,11 @@ users.
%prep
%autosetup -n fts-xapian-%{version}
%build
autoreconf -vi
%configure --enable-static=no --with-dovecot=%{_libdir}/dovecot
%build
%make_build
%install