From 3b9bb773fe5e1023003c8ff10505b6f1ba3e82c6 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 15 Apr 2024 13:37:16 +0200 Subject: [PATCH] configure.ac: 3.7.0 is new minimal sanlock versioh Require this minimal version of sanlock for usage with lvmlockd. --- configure.ac | 2 +- spec/source.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index a92a34a1b..c09adad60 100644 --- a/configure.ac +++ b/configure.ac @@ -933,7 +933,7 @@ AC_MSG_RESULT([$BUILD_LOCKDSANLOCK]) dnl -- Look for sanlock libraries AS_IF([test "$BUILD_LOCKDSANLOCK" = "yes"], [ - PKG_CHECK_MODULES(LIBSANLOCKCLIENT, libsanlock_client >= 3.3.0, [BUILD_LVMLOCKD="yes"]) + PKG_CHECK_MODULES(LIBSANLOCKCLIENT, libsanlock_client >= 3.7.0, [BUILD_LVMLOCKD="yes"]) AC_DEFINE([LOCKDSANLOCK_SUPPORT], 1, [Define to 1 to include code that uses lvmlockd sanlock option.]) ]) diff --git a/spec/source.inc b/spec/source.inc index f55698015..c24ff82ad 100644 --- a/spec/source.inc +++ b/spec/source.inc @@ -62,7 +62,7 @@ %if %{fedora} >= 24 || %{rhel} >= 7 %service lvmlockd 1 - %global sanlock_version 3.3.0-1 + %global sanlock_version 3.7.0-1 %global enable_lvmlockd_dlm 1 %global enable_lvmlockd_sanlock 1 # FIXME: Check these conditions against RHEL builds! -- 2.43.5