From 93b9e3d5de0853de8ee13ea71c3bd92901b25598 Mon Sep 17 00:00:00 2001 From: Tim Serong Date: Thu, 21 Jul 2022 18:08:57 +1000 Subject: [PATCH] ceph.spec.in: use BuildRequires libndctl-devel for SUSE distros Fixes: b6b24852a6d1c6d8e785e15661f3bf29d662417f Signed-off-by: Tim Serong --- ceph.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index becee7bb7485f..4e3c0379be445 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -301,8 +301,12 @@ BuildRequires: nlohmann_json-devel BuildRequires: libevent-devel %endif %if 0%{with system_pmdk} +%if 0%{?suse_version} +BuildRequires: libndctl-devel >= 63 +%else BuildRequires: ndctl-devel >= 63 BuildRequires: daxctl-devel >= 63 +%endif BuildRequires: libpmem-devel BuildRequires: libpmemobj-devel >= 1.8 %endif -- 2.39.5