]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: bump gperftools requirement for ppc64le 39379/head
authorYaakov Selkowitz <yselkowi@redhat.com>
Tue, 9 Feb 2021 16:30:43 +0000 (11:30 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Tue, 9 Feb 2021 16:30:43 +0000 (11:30 -0500)
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>
ceph.spec.in

index 11b4794dbb2e42bc63a1eaa8d97f0da7541f7cd9..f760163fb4de4ac41ee7917215782e11761cdb93 100644 (file)
@@ -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}