Dan Kenigsberg has uploaded a new change for review.

Change subject: spec: finer-grained libvirt requirement
......................................................................

spec: finer-grained libvirt requirement

Change-Id: I48e25ca9e307c2cde7f29b65c68ff6e122ec8f64
Signed-off-by: Dan Kenigsberg <[email protected]>
---
M vdsm.spec.in
1 file changed, 16 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/61/15761/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index b0e3b87..e423fbc 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -102,6 +102,21 @@
 Requires: dmidecode
 %endif
 
+%if 0%{?rhel} >= 7 || 0%{?fedora} >= 18
+Requires: libvirt-daemon
+Requires: libvirt-daemon-config-nwfilter
+Requires: libvirt-daemon-driver-network
+Requires: libvirt-daemon-driver-nwfilter
+Requires: libvirt-daemon-driver-qemu
+%else
+%if 0%{?rhel}
+Requires: libvirt >= 0.10.2-18.el6_4.4
+%else
+Requires: libvirt >= 1.0.2-1
+%endif
+%endif
+Requires: libvirt-python, libvirt-lock-sanlock, libvirt-client
+
 %if 0%{?rhel}
 %if 0%{?rhel} >= 7
 ExclusiveArch:  x86_64
@@ -109,7 +124,6 @@
 Requires: e2fsprogs
 Requires: fence-agents-all
 Requires: iscsi-initiator-utils
-Requires: libvirt
 Requires: lvm2
 Requires: python
 Requires: policycoreutils-python
@@ -123,7 +137,6 @@
 # Update the qemu-kvm requires when block_stream will be included
 Requires: qemu-kvm >= 2:0.12.1.2-2.295.el6_3.4
 Requires: qemu-img >= 2:0.12.1.2-2.295.el6_3.4
-Requires: libvirt >= 0.10.2-18.el6_4.4
 Requires: iscsi-initiator-utils >= 6.2.0.872-15
 Requires: device-mapper-multipath >= 0.4.9-52
 Requires: e2fsprogs >= 1.41.12-11
@@ -151,7 +164,6 @@
 Requires: python >= 2.7.3
 Requires: qemu-kvm >= 2:0.15.0-4
 Requires: qemu-img >= 2:0.15.0-4
-Requires: libvirt >= 1.0.2-1
 %if 0%{?fedora} >= 18
 Requires: initscripts >= 9.42.2-1
 %endif
@@ -175,7 +187,6 @@
 Requires: systemd >= 197-1.fc18.2
 %endif
 
-Requires: libvirt-python, libvirt-lock-sanlock, libvirt-client
 Requires: psmisc >= 22.6-15
 Requires: bridge-utils
 Requires: sos
@@ -458,6 +469,7 @@
 
 %package hook-sriov
 Summary:        sr-iov support for VDSM
+Requires:       libvirt-daemon-driver-nodedev
 BuildArch:      noarch
 
 %description hook-sriov


-- 
To view, visit http://gerrit.ovirt.org/15761
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I48e25ca9e307c2cde7f29b65c68ff6e122ec8f64
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to