提交 b9837420 编写于 作者: J Jiri Denemark

spec: Enable sanlock on qemu_kvm_arches for RHEL

Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
上级 74104995
......@@ -260,12 +260,12 @@
%endif
# Enable sanlock library for lock management with QEMU
# Sanlock is available only on x86_64 for RHEL
# Sanlock is available only on arches where kvm is available for RHEL
%if 0%{?fedora} >= 16
%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
%endif
%if 0%{?rhel} >= 6
%ifarch x86_64
%ifarch %{qemu_kvm_arches}
%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
%endif
%endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册