]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: Use updated gperftools-libs at runtime 24706/head
authorBrad Hubbard <bhubbard@redhat.com>
Tue, 16 Oct 2018 01:57:05 +0000 (11:57 +1000)
committerNathan Cutler <ncutler@suse.com>
Tue, 23 Oct 2018 05:52:02 +0000 (07:52 +0200)
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 <bhubbard@redhat.com>
(cherry picked from commit 24636267f957ff9518396ac1b8212f2402286d82)

ceph.spec.in

index 84cbad697439c4cacd45fdc4fc6c316f8bd5c68e..d708aea337a01658ed3b7467d7a5240ca16b9a21 100644 (file)
@@ -262,6 +262,11 @@ Requires:      psmisc
 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:    ntp-daemon