]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Require newer sanlock on recent distros 2
authorJiri Denemark <jdenemar@redhat.com>
Tue, 16 Oct 2012 21:54:18 +0000 (23:54 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 16 Oct 2012 22:00:47 +0000 (00:00 +0200)
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.

libvirt.spec.in

index 6bed33694d13923562a11be1b49865f7eff50db7..2f3e82995434609ff0b4e95a1dc06b99f07e7885 100644 (file)
@@ -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}