From 6887846559cb1b07976865ce56d57a4ea1cb29ba Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Mon, 9 Sep 2024 16:06:59 +0200 Subject: [PATCH] [WIP] Disable dlm for RHEL10 --- spec/source.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/source.inc b/spec/source.inc index bde2703d2..2ca659b52 100644 --- a/spec/source.inc +++ b/spec/source.inc @@ -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 - %global enable_lvmlockd_dlm 1 + %if %{rhel} <= 9 + %global enable_lvmlockd_dlm 1 + %endif # FIXME: Check these conditions against RHEL builds! %if %{rhel} %ifnarch i686 x86_64 s390x