]> TLD Linux GIT Repositories - packages/rpm.git/commitdiff
- fix building without plugins
authorMarcin Krol <hawk@tld-linux.org>
Wed, 6 Dec 2023 19:37:52 +0000 (20:37 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 6 Dec 2023 19:37:52 +0000 (20:37 +0100)
rpm.spec

index b38ec09f373385832aeb7f89891a6c768e7c70d4..ec58100e991a3bcb66b8ce8908852367ac57b9c9 100644 (file)
--- 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}