[libvirt] [PATCH] spec: add missing dep of libvirt-daemon-config-nwfilter

Eric Blake eblake at redhat.com
Wed Feb 12 21:34:50 UTC 2014


Similar to cf76c4b, if modules are used, then nwfilter configuration
requires the nwfilter driver module.

Signed-off-by: Eric Blake <eblake at redhat.com>
---
 libvirt.spec.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 2d57c71..2b44c21 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -737,6 +737,9 @@ Summary: Network filter configuration files for the libvirtd daemon
 Group: Development/Libraries

 Requires: libvirt-daemon = %{version}-%{release}
+        %if %{with_driver_modules}
+Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
+        %endif

 %description daemon-config-nwfilter
 Network filter configuration files for cleaning guest traffic
-- 
1.8.5.3




More information about the libvir-list mailing list