]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: add missing dep of libvirt-daemon-config-network
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 11 Feb 2014 10:35:20 +0000 (11:35 +0100)
committerEric Blake <eblake@redhat.com>
Wed, 12 Feb 2014 20:24:01 +0000 (13:24 -0700)
When building modules, libvirt-daemon-config-network requires
libvirt-daemon-driver-network to ensure the 'default' network
is setup properly

Signed-off-by: Eric Blake <eblake@redhat.com>
libvirt.spec.in

index 4d804e68f6eb702649791eb4dc806e1e0ef8ee6a..d3e60484e152954e942bce3e4477c4ac77c701fe 100644 (file)
@@ -720,6 +720,9 @@ Summary: Default configuration files for the libvirtd daemon
 Group: Development/Libraries
 
 Requires: libvirt-daemon = %{version}-%{release}
+        %if %{with_driver_modules}
+Requires: libvirt-daemon-driver-network = %{version}-%{release}
+        %endif
 
 %description daemon-config-network
 Default configuration files for setting up NAT based networking