The pwl_cache plugin depends on libpmem. This is not available on s390x
for RHEL 8, RHEL 9, or Fedora.
Fixes: https://tracker.ceph.com/issues/56491
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
(cherry picked from commit
426c761f3a9da32e23f72cdb8b6116f6d5b8311d)
%if 0%{?rhel} < 9
%bcond_with system_pmdk
%else
+%ifarch s390x
+%bcond_with system_pmdk
+%else
%bcond_without system_pmdk
%endif
+%endif
%bcond_without selinux
%if 0%{?rhel} >= 8
%bcond_with cephfs_java