From: Brad Hubbard Date: Tue, 16 Oct 2018 01:57:05 +0000 (+1000) Subject: rpm: Use updated gperftools-libs at runtime X-Git-Tag: v14.1.0~1129^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24652%2Fhead;p=ceph.git rpm: Use updated gperftools-libs at runtime Due to ABI breakage in libtcmalloc.so.4 we need to specify the minimum version to be used at runtime to be greater than or equal to the version used at build time. Fixes: http://tracker.ceph.com/issues/36508 Signed-off-by: Brad Hubbard --- diff --git a/ceph.spec.in b/ceph.spec.in index 952763067d9d..70e8612de573 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -341,6 +341,11 @@ Requires: xfsprogs Requires: which %if 0%{?fedora} || 0%{?rhel} Requires: gdisk +# The following is necessary due to tracker 36508 and can be removed once the +# associated upstream bugs are resolved. +%if 0%{with tcmalloc} +Requires: gperftools-libs >= 2.6.1 +%endif %endif %if 0%{?suse_version} Recommends: chrony