From: Jim Fehlig Date: Thu, 5 Dec 2013 21:56:06 +0000 (-0700) Subject: spec: Fix files list when building without driver modules X-Git-Tag: CVE-2013-6436~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b531255b6ee5ad84caa751af49ed40c535315162;p=thirdparty%2Flibvirt.git spec: Fix files list when building without driver modules 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. --- diff --git a/libvirt.spec.in b/libvirt.spec.in index ddb5d547a6..4ee3c47650 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -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)