Skip to contentSkip to conversation

main - spec: use --with-default-use-devices-file=1 for rhel9+

PATCH Marian Csontos 1 participant 1 message Aug 9, 2022

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=4e6ed2c458a47b2ea4b43c4e0b00ec070040a592
Commit:        4e6ed2c458a47b2ea4b43c4e0b00ec070040a592
Parent:        31f9c4bfab4d859369b0a5365fda44e398a4656b
Author:        Marian Csontos <[email protected]>
AuthorDate:    Tue Aug 9 16:02:39 2022 +0200
Committer:     Marian Csontos <[email protected]>
CommitterDate: Tue Aug 9 16:17:43 2022 +0200

spec: use --with-default-use-devices-file=1 for rhel9+

---
 spec/source.inc | 4 ++++
 1 file changed, 4 insertions(+)
spec/source.inc +4 -0
index 3e7573025..7b44ef152 100644
@@ -121,6 +121,10 @@
 %with thin_dump
 %endif
 
+%if %{rhel} >= 9
+%with default-use-devices-file 1
+%endif
+
 ##############################################################
 
 %if %{fedora} == 17