summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ceph.spec.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/ceph.spec.in b/ceph.spec.in
index 21764d2865a..f584e529a67 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -36,7 +36,11 @@
%bcond_with rbd_rwl_cache
%endif
%if 0%{?fedora} || 0%{?rhel}
+%if 0%{?rhel} < 9
%bcond_with system_pmdk
+%else
+%bcond_without system_pmdk
+%endif
%bcond_without selinux
%if 0%{?rhel} >= 8
%bcond_with cephfs_java