mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-06 09:55:46 +00:00
spec: sanlock is x86_64 only on RHEL
This commit is contained in:
parent
1e947cf7d8
commit
01cf9effcc
@ -262,16 +262,11 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Enable sanlock library for lock management with QEMU
|
# Enable sanlock library for lock management with QEMU
|
||||||
# Sanlock is available only on i686 x86_64 for RHEL
|
# Sanlock is available only on x86_64 for RHEL
|
||||||
%if 0%{?fedora} >= 16
|
%if 0%{?fedora} >= 16
|
||||||
%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
|
%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel} == 6
|
%if 0%{?rhel} >= 6
|
||||||
%ifarch %{ix86} x86_64
|
|
||||||
%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
%if 0%{?rhel} >= 7
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
|
%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user