From: Jiri Denemark Date: Tue, 16 Oct 2012 21:54:18 +0000 (+0200) Subject: spec: Require newer sanlock on recent distros 2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3143c81ca19811e5742f5738eaa4abc6c9229303;p=libvirt.git spec: Require newer sanlock on recent distros 2 The previous commit was incomplete. We need to also add explicit Requires for the newer version since RPM's automatic dependencies won't work with sanlock. --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 6bed33694d..2f3e829954 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1030,7 +1030,11 @@ Include header files & development libraries for the libvirt C library. %package lock-sanlock Summary: Sanlock lock manager plugin for QEMU driver Group: Development/Libraries +%if 0%{?fedora} >= 17 || 0%{?rhel} >= 6 +Requires: sanlock >= 2.4 +%else Requires: sanlock >= 1.8 +%endif #for virt-sanlock-cleanup require augeas Requires: augeas Requires: %{name}-daemon = %{version}-%{release}