summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMarian Csontos <mcsontos@redhat.com>2022-08-09 16:02:39 +0200
committerMarian Csontos <mcsontos@redhat.com>2022-08-09 16:17:43 +0200
commit4e6ed2c458a47b2ea4b43c4e0b00ec070040a592 (patch)
tree3e902b2b5c6a86ab4727b0a153e4bfe439ec0672 /spec
parent31f9c4bfab4d859369b0a5365fda44e398a4656b (diff)
downloadlvm2-4e6ed2c458a47b2ea4b43c4e0b00ec070040a592.tar.gz
spec: use --with-default-use-devices-file=1 for rhel9+
Diffstat (limited to 'spec')
-rw-r--r--spec/source.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/source.inc b/spec/source.inc
index 3e7573025..7b44ef152 100644
--- a/spec/source.inc
+++ b/spec/source.inc
@@ -121,6 +121,10 @@
%with thin_dump
%endif
+%if %{rhel} >= 9
+%with default-use-devices-file 1
+%endif
+
##############################################################
%if %{fedora} == 17