From: Yaakov Selkowitz Date: Tue, 9 Feb 2021 16:30:43 +0000 (-0500) Subject: ceph.spec.in: bump gperftools requirement for ppc64le X-Git-Tag: v17.1.0~2984^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F39379%2Fhead;p=ceph.git 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 --- diff --git a/ceph.spec.in b/ceph.spec.in index 11b4794dbb2e..f760163fb4de 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}