From: Marcin Krol Date: Wed, 6 Dec 2023 19:37:52 +0000 (+0100) Subject: - fix building without plugins X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=bb0921c4475d62ffb5540bdb92089c0e8636d92a;p=packages%2Frpm.git - fix building without plugins --- diff --git a/rpm.spec b/rpm.spec index b38ec09..ec58100 100644 --- a/rpm.spec +++ b/rpm.spec @@ -834,7 +834,9 @@ cd python cd .. %endif +%if %{with plugins} %{__rm} $RPM_BUILD_ROOT%{_libdir}/rpm-plugins/*.la +%endif # wrong location, not used anyway %{__rm} $RPM_BUILD_ROOT%{_rpmlibdir}/rpm.{daily,log}