Change in vdsm[master]: spec: fix libvirt dependency for fedora and RHEL7

fromani at redhat.com fromani at redhat.com
Wed Oct 22 07:01:03 UTC 2014


Francesco Romani has uploaded a new change for review.

Change subject: spec: fix libvirt dependency for fedora and RHEL7
......................................................................

spec: fix libvirt dependency for fedora and RHEL7

In commit 395c77c90c0bc we bumped the libvirt requirement
to 1.2.3, which is found on RHEL 7.1 snapshots and
in fedora 20 with virt-preview repos.

This rules out RHEL 7.0 and Centos 7.0, thus a quite
relevant part of users.

This patch downgrades the libvirt requirements to 1.1.1
with the following rationale:

* commit 395c77c90c0bc already has soft dependency and
  could handle gracefully an old libvirt.
* CentOS/RHEL 7.0 provides libvirt 1.1.1, so it is fine
  out of the box. [1]
* Fedora 19 has libvirt 1.0.5.8 by default, but the
  virt-preview repo which already recommend provides
  libvirt 1.1.3 [2]
* Fedora 20 has libvirt 1.1.3 by default and libvirt 1.2.9
  through the virt-preview repo. [3]

References:
[1] http://mirror.centos.org/centos/7/os/x86_64/Packages/
[2] https://repos.fedorapeople.org/repos/crobinso/virt-preview/fedora-19/
[3] https://repos.fedorapeople.org/repos/crobinso/virt-preview/fedora-20/

Change-Id: Ia9c557281766d335b4c627aed4570a9099005ac0
Bug-Url: https://bugzilla.redhat.com/??????
Signed-off-by: Francesco Romani <fromani at redhat.com>
---
M vdsm.spec.in
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/40/34340/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index 0ba2f5e..038ed4a 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -155,7 +155,7 @@
 %endif
 
 %if 0%{?rhel} >= 7 || 0%{?fedora} >= 18
-Requires: libvirt-daemon >= 1.2.3
+Requires: libvirt-daemon >= 1.1.1
 Requires: libvirt-daemon-config-nwfilter
 Requires: libvirt-daemon-driver-network
 Requires: libvirt-daemon-driver-nwfilter
@@ -164,7 +164,7 @@
 %if 0%{?rhel}
 Requires: libvirt >= 0.10.2-29.el6_5.4
 %else
-Requires: libvirt >= 1.2.3
+Requires: libvirt >= 1.1.1
 %endif
 %endif
 Requires: libvirt-python, libvirt-lock-sanlock, libvirt-client


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia9c557281766d335b4c627aed4570a9099005ac0
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>


More information about the vdsm-patches mailing list