[rpm] - Fix spec to allow building without plugins (#1182385)

Florian Festi ffesti at fedoraproject.org
Fri Mar 20 09:20:50 UTC 2015


commit 02c36c047167a1ca39e2b94982625ff310aa1597
Author: Florian Festi <ffesti at redhat.com>
Date:   Fri Mar 20 10:18:48 2015 +0100

    - Fix spec to allow building without plugins (#1182385)

 rpm.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index 9a949d3..3af724a 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -27,7 +27,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}8%{?dist}
+Release: %{?snapver:0.%{snapver}.}9%{?dist}
 Group: System Environment/Base
 Url: http://www.rpm.org/
 Source0: http://rpm.org/releases/rpm-4.12.x/%{name}-%{srcver}.tar.bz2
@@ -464,9 +464,9 @@ exit 0
 %defattr(-,root,root)
 %{_libdir}/librpmio.so.*
 %{_libdir}/librpm.so.*
+%if %{with plugins}
 %dir %{_libdir}/rpm-plugins
 
-%if %{with plugins}
 %files plugin-syslog
 %{_libdir}/rpm-plugins/syslog.so
 
@@ -543,6 +543,8 @@ exit 0
 %doc doc/librpm/html/*
 
 %changelog
+* Fri Mar 20 2015 Florian Festi <ffesti at rpm.org> - 4.12.0.1-9
+- Fix spec to allow building without plugins (#1182385)
 * Mon Mar 16 2015 Than Ngo <than at redhat.com> - 4.12.0.1-8
 - bump release and rebuild so that koji-shadow can rebuild it
   against new gcc on secondary arch


More information about the scm-commits mailing list