]> xenbits.xensource.com Git - libvirt.git/commitdiff
Add missing deps on driver modules in libvirt RPM
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 18 Jul 2012 16:27:03 +0000 (17:27 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 19 Jul 2012 09:18:26 +0000 (10:18 +0100)
Turning on the building of driver modules in libvirt.spec.in
means that installing 'libvirt' no longer pulls in all the
drivers. For upgrade compatibility we need to list all drivers
module sub-RPMs against the 'libvirt' RPM.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
libvirt.spec.in

index 2253d8686ad06324d225a4eb4dff123d61f07747..140a1821696715d7e141757e227dad00a524e0b0 100644 (file)
@@ -326,8 +326,18 @@ Requires: libvirt-daemon-config-network = %{version}-%{release}
 %if %{with_nwfilter}
 Requires: libvirt-daemon-config-nwfilter = %{version}-%{release}
 %endif
-# XXX when we turn on driver modules, we need to add
-# deps on each driver (Requires: libvirt-daemon-drv-qemu)
+Requires: libvirt-daemon-driver-libxl = %{version}-%{release}
+Requires: libvirt-daemon-driver-lxc = %{version}-%{release}
+Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
+Requires: libvirt-daemon-driver-uml = %{version}-%{release}
+Requires: libvirt-daemon-driver-xen = %{version}-%{release}
+
+Requires: libvirt-daemon-driver-interface = %{version}-%{release}
+Requires: libvirt-daemon-driver-secret = %{version}-%{release}
+Requires: libvirt-daemon-driver-storage = %{version}-%{release}
+Requires: libvirt-daemon-driver-network = %{version}-%{release}
+Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
+Requires: libvirt-daemon-driver-nwfilter = %{version}-%{release}
 %endif
 Requires: libvirt-client = %{version}-%{release}