From 40617ad1caab0373a799f32b7c2019c1030604f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 25 Jan 2022 15:35:59 +0100 Subject: [PATCH] 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. --- dovecot-fts-xapian.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dovecot-fts-xapian.spec b/dovecot-fts-xapian.spec index 64164bd..3c3b1fc 100644 --- a/dovecot-fts-xapian.spec +++ b/dovecot-fts-xapian.spec @@ -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