From 6e53293812d3bd0cf2f0abf03c36e7b2535e7ca1 Mon Sep 17 00:00:00 2001 From: Wen Congyang Date: Wed, 14 Dec 2011 10:31:30 -0700 Subject: [PATCH] spec: fix inverted logic on sanlock Commit d336dbdb tried to refactor sanlock to avoid building it on RHEL for architectures where it is not available, but used the wrong conditional. * libvirt.spec.in (with_sanlock): Use %ifarch, not %ifnarch. --- libvirt.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index b83f3558a6..5537c51512 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -184,7 +184,7 @@ %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} %endif %if 0%{?rhel} >= 6 -%ifnarch i386 i586 i686 x86_64 +%ifarch i386 i586 i686 x86_64 %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}} %endif %endif -- GitLab