From: Jiri Denemark Date: Wed, 23 Jul 2014 07:04:22 +0000 (+0200) Subject: spec: Enable sanlock on qemu_kvm_arches for RHEL X-Git-Tag: v1.2.7-rc1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b983742029a764f973680f2bc5cf6cc8eba0a63b;p=thirdparty%2Flibvirt.git spec: Enable sanlock on qemu_kvm_arches for RHEL Signed-off-by: Jiri Denemark --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 76e57aa934..bf09e4fa1a 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -260,12 +260,12 @@ %endif # Enable sanlock library for lock management with QEMU -# Sanlock is available only on x86_64 for RHEL +# Sanlock is available only on arches where kvm is available for RHEL %if 0%{?fedora} >= 16 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} %endif %if 0%{?rhel} >= 6 - %ifarch x86_64 + %ifarch %{qemu_kvm_arches} %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} %endif %endif