]> sourceware.org Git - lvm2.git/commitdiff
[WIP] Disable dlm for RHEL10 1478614252
authorMarian Csontos <mcsontos@redhat.com>
Mon, 9 Sep 2024 14:06:59 +0000 (16:06 +0200)
committerMarian Csontos <mcsontos@redhat.com>
Wed, 2 Oct 2024 11:48:11 +0000 (13:48 +0200)
spec/source.inc

index bde2703d208b66a72c09417ac5f81b9d89f39127..2ca659b52321af471878644f655d5d4f9dbae80d 100644 (file)
 %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
This page took 0.037443 seconds and 5 git commands to generate.