Disable pmem on RHEL 10

PMDK (packaged as nvml in Fedora) is unmaintained upstream and unwanted
in RHEL 10 and ELN.

Resolves: RHEL-1738

RWMJ:
Cherry picked from commit bd6c291f06de0895db0ed3379643a3103f9fb31d
on the eln branch.
This commit is contained in:
Yaakov Selkowitz 2024-02-10 23:42:13 -05:00 committed by Richard W.M. Jones
parent cf84426a04
commit affe1791b7

View File

@ -103,6 +103,9 @@
%ifarch x86_64 %{power64}
%global have_pmem 1
%endif
%if 0%{?rhel} >= 10
%global have_pmem 0
%endif
%global have_jack 1
%if 0%{?rhel}