From: Ken Dreyer Date: Thu, 7 Jul 2022 15:43:30 +0000 (-0400) Subject: ceph.spec.in: disable system_pmdk on s390x X-Git-Tag: v17.2.4~116^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dc6b069113f462e9724c6ed59d461bdafb3dd5c3;p=ceph.git ceph.spec.in: disable system_pmdk on s390x 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 (cherry picked from commit 426c761f3a9da32e23f72cdb8b6116f6d5b8311d) --- diff --git a/ceph.spec.in b/ceph.spec.in index 94458f6b1a11..622db06fee8a 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -39,8 +39,12 @@ %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