From a0d670d2bf0b2c60a32d001c948c354e8841dcba Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 4 Jul 2011 23:05:01 +0800 Subject: [PATCH] Temporary disable sanlock as version is too old --- libvirt.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvirt.spec b/libvirt.spec index 95b501a..00c597f 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -164,7 +164,10 @@ %endif # Enable sanlock library for lock management with QEMU -%if 0%{?fedora} >= 16 || 0%{?rhel} >= 6 +# temporary remove sanlock support in F16 as it seems too old +# checking for sanlock_restrict in -lsanlock... no + +%if 0%{?fedora} > 16 || 0%{?rhel} >= 6 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} %endif