]> xenbits.xensource.com Git - people/dariof/libvirt.git/commitdiff
spec: Fix files list when building without driver modules
authorJim Fehlig <jfehlig@suse.com>
Thu, 5 Dec 2013 21:56:06 +0000 (14:56 -0700)
committerJim Fehlig <jfehlig@suse.com>
Fri, 6 Dec 2013 21:00:51 +0000 (14:00 -0700)
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

index ddb5d547a6176e8d1b5bd56b59a5e30925b44d51..4ee3c4765088c5a25d62b1d8190e7a1140810d5c 100644 (file)
@@ -1890,18 +1890,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)