From 01cf9effccd456ca976b400978ab1bf74972b836 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Tue, 6 May 2014 09:39:18 +0200 Subject: [PATCH] spec: sanlock is x86_64 only on RHEL --- libvirt.spec.in | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index aeccf4f08a..84d5bf3444 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -262,16 +262,11 @@ %endif # Enable sanlock library for lock management with QEMU -# Sanlock is available only on i686 x86_64 for RHEL +# Sanlock is available only on x86_64 for RHEL %if 0%{?fedora} >= 16 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} %endif -%if 0%{?rhel} == 6 - %ifarch %{ix86} x86_64 - %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} - %endif -%endif -%if 0%{?rhel} >= 7 +%if 0%{?rhel} >= 6 %ifarch x86_64 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} %endif