From: Wen Congyang Date: Wed, 14 Dec 2011 17:31:30 +0000 (-0700) Subject: spec: fix inverted logic on sanlock X-Git-Tag: v0.9.9-rc1~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e53293812d3bd0cf2f0abf03c36e7b2535e7ca1;p=thirdparty%2Flibvirt.git 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. --- 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