]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: fix inverted logic on sanlock
authorWen Congyang <wency@cn.fujitsu.com>
Wed, 14 Dec 2011 17:31:30 +0000 (10:31 -0700)
committerEric Blake <eblake@redhat.com>
Wed, 14 Dec 2011 17:31:30 +0000 (10:31 -0700)
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

index b83f3558a60153ff10b178b90fcf7ed2fe9dfe1f..5537c51512809b18788b2c44574c72d15edd9fdd 100644 (file)
 %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