Re: [libvirt] [PATCH 01/16] Add missing deps on driver modules in libvirt RPM

2012-07-19 Thread Daniel Veillard
On Wed, Jul 18, 2012 at 05:32:22PM +0100, Daniel P. Berrange wrote:
 From: Daniel P. Berrange berra...@redhat.com
 
 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 berra...@redhat.com
 ---
  libvirt.spec.in |   14 --
  1 file changed, 12 insertions(+), 2 deletions(-)
 
 diff --git a/libvirt.spec.in b/libvirt.spec.in
 index ec2b3b4..3f6382b 100644
 --- a/libvirt.spec.in
 +++ b/libvirt.spec.in
 @@ -320,8 +320,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}

  ACK

Daniel

-- 
Daniel Veillard  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
dan...@veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


[libvirt] [PATCH 01/16] Add missing deps on driver modules in libvirt RPM

2012-07-18 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com

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 berra...@redhat.com
---
 libvirt.spec.in |   14 --
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index ec2b3b4..3f6382b 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -320,8 +320,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}
 
-- 
1.7.10.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list