1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

[WIP] Disable dlm for RHEL10

This commit is contained in:
Marian Csontos 2024-09-09 16:06:59 +02:00
parent 80d7483322
commit 6887846559

View File

@ -63,11 +63,13 @@
%if %{fedora} >= 27 || %{rhel} >= 7
%service lvmlockd 1
# For RH7 require 7.4 for sanlock
%if %{rhel} != 7 || 0%{?rhel_minor_version} > 4
%if %{rhel} > 7 || 0%{?rhel_minor_version} > 4
%global enable_lvmlockd_sanlock 1
%endif
%global sanlock_version 3.7.0-1
%if %{rhel} <= 9
%global enable_lvmlockd_dlm 1
%endif
# FIXME: Check these conditions against RHEL builds!
%if %{rhel}
%ifnarch i686 x86_64 s390x