[libvirt] [PATCH 3/6] spec: Fix files list when building without driver modules

Jim Fehlig jfehlig at suse.com
Thu Dec 5 23:36:19 UTC 2013


The daemon-config-{network,nwfilter} subpackages are built regardless
of whether or not with_driver_modules is defined, therefore don't
conditionally define their files list.
---
 libvirt.spec.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 1306322..4938a0d 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1888,18 +1888,18 @@ exit 0
 %{_mandir}/man8/libvirtd.8*
 %{_mandir}/man8/virtlockd.8*
 
-    %if %{with_driver_modules}
-        %if %{with_network}
+    %if %{with_network}
 %files daemon-config-network
 %defattr(-, root, root)
-        %endif
+    %endif
 
-        %if %{with_nwfilter}
+    %if %{with_nwfilter}
 %files daemon-config-nwfilter
 %defattr(-, root, root)
 %{_sysconfdir}/libvirt/nwfilter/*.xml
-        %endif
+    %endif
 
+    %if %{with_driver_modules}
         %if %{with_interface}
 %files daemon-driver-interface
 %defattr(-, root, root)
-- 
1.8.0.1




More information about the libvir-list mailing list