From 0f783b7e3bfe7ef8ae40bf2f698dc83b40b49583 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 9 Feb 2021 11:30:43 -0500 Subject: [PATCH] ceph.spec.in: bump gperftools requirement for ppc64le gperftools' libprofiler did not build on ppc64le until 2.7.90. The EPEL 8 package is being updated accordingly. Signed-off-by: Yaakov Selkowitz --- ceph.spec.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index 11b4794dbb2..f760163fb4d 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -158,7 +158,11 @@ BuildRequires: gcc-c++ %endif BuildRequires: gdbm %if 0%{with tcmalloc} -%if 0%{?fedora} || 0%{?rhel} +# libprofiler did not build on ppc64le until 2.7.90 +%if 0%{?fedora} || 0%{?rhel} >= 8 +BuildRequires: gperftools-devel >= 2.7.90 +%endif +%if 0%{?rhel} && 0%{?rhel} < 8 BuildRequires: gperftools-devel >= 2.6.1 %endif %if 0%{?suse_version} @@ -403,7 +407,7 @@ Requires: python%{python3_pkgversion}-setuptools Requires: util-linux Requires: xfsprogs Requires: which -%if 0%{?fedora} || 0%{?rhel} +%if 0%{?rhel} && 0%{?rhel} < 8 # The following is necessary due to tracker 36508 and can be removed once the # associated upstream bugs are resolved. %if 0%{with tcmalloc} -- 2.39.5