[openstack-nova/f21] fixup libvrit dependencies

Pádraig Brady pbrady at fedoraproject.org
Tue Oct 21 15:47:12 UTC 2014


commit bc7e6153b2c7e0c56ea943d3bae4b17520c93359
Author: Pádraig Brady <P at draigBrady.com>
Date:   Tue Oct 21 16:43:16 2014 +0100

    fixup libvrit dependencies
    
    Don't use libvirt-daemon-kvm on EL6.
    It's only available on Centos6 through the Xen4 repo.
    
    Don't depend on libvirt on Fedora/EL7 as
    it pulls reundant dependencies as detailed in rhbz#996715

 openstack-nova.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/openstack-nova.spec b/openstack-nova.spec
index b7ddf1e..c252f01 100644
--- a/openstack-nova.spec
+++ b/openstack-nova.spec
@@ -3,7 +3,7 @@
 
 Name:             openstack-nova
 Version:          2014.1.3
-Release:          2%{?dist}
+Release:          3%{?dist}
 Summary:          OpenStack Compute (nova)
 
 Group:            Applications/System
@@ -157,8 +157,11 @@ Requires:         tunctl
 %endif
 Requires:         python-libguestfs
 Requires:         libvirt-python
+%if 0%{?rhel} && 0%{?rhel} <= 6
 Requires:         libvirt >= 0.9.6
+%else
 Requires:         libvirt-daemon-kvm
+%endif
 %if 0%{?rhel}==0
 Requires:         libvirt-daemon-lxc
 Requires:         libvirt-daemon-uml
@@ -1132,6 +1135,9 @@ fi
 %endif
 
 %changelog
+* Tue Oct 21 2014 Pádraig Brady <pbrady at redhat.com> - 2014.1.3-3
+- fixup libvirt dependencies
+
 * Mon Oct 20 2014 Pádraig Brady <pbrady at redhat.com> - 2014.1.3-2
 - Control spicehtml5proxy service on packaging operations
 - Add novncproxy service to standard %%post packaging operation


More information about the scm-commits mailing list