]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Enable sanlock on qemu_kvm_arches for RHEL
authorJiri Denemark <jdenemar@redhat.com>
Wed, 23 Jul 2014 07:04:22 +0000 (09:04 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 23 Jul 2014 14:43:30 +0000 (16:43 +0200)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
libvirt.spec.in

index 76e57aa93441c0d15643a11e74e7ff681555b2e5..bf09e4fa1a3adf1524a28b7f76902de43d75f558 100644 (file)
 %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