diff options
author | Wen Congyang <wency@cn.fujitsu.com> | 2011-12-14 10:31:30 -0700 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-12-14 10:31:30 -0700 |
commit | 6e53293812d3bd0cf2f0abf03c36e7b2535e7ca1 (patch) | |
tree | cd28331fa60f61cfe2e231b61a7dcac8f912469f | |
parent | 65aefae1a860b0ea1038cd65aafdd90e0f0e3b2d (diff) | |
download | libvirt-6e53293812d3bd0cf2f0abf03c36e7b2535e7ca1.tar.gz |
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.
-rw-r--r-- | libvirt.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |