]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: bump gperftools requirement for ppc64le
authorYaakov Selkowitz <yselkowi@redhat.com>
Tue, 9 Feb 2021 16:30:43 +0000 (11:30 -0500)
committerChristina Meno <cmeno@redhat.com>
Mon, 15 Feb 2021 21:40:54 +0000 (21:40 +0000)
gperftools' libprofiler did not build on ppc64le until 2.7.90.
The EPEL 8 package is being updated accordingly.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
(cherry picked from commit 0f783b7e3bfe7ef8ae40bf2f698dc83b40b49583)

ceph.spec.in

index 7a4a244e9e53959593e5ca936f76e694b163c7d0..35619f72c93dfb5697bda4573f815f62c8ffeaad 100644 (file)
@@ -152,7 +152,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}
@@ -399,7 +403,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}