From 19922e18754da3e49a66c1c6fe4585f6de338c14 Mon Sep 17 00:00:00 2001 From: Tim Serong Date: Mon, 28 Mar 2022 20:45:01 +1100 Subject: [PATCH] ceph.spec.in: Use libthrift-devel on SUSE distros Fixes: 80e82686ebafe36fca6dfd21cb32e63ced94d5cd Fixes: https://tracker.ceph.com/issues/55087 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 649247308a79f..f4c4c9f69ca4a 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -262,7 +262,11 @@ BuildRequires: socat %if 0%{with zbd} BuildRequires: libzbd-devel %endif +%if 0%{?suse_version} +BuildRequires: libthrift-devel >= 0.13.0 +%else BuildRequires: thrift-devel >= 0.13.0 +%endif BuildRequires: re2-devel %if 0%{with jaeger} BuildRequires: bison