]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rpm: Use updated gperftools-libs at runtime
authorBrad Hubbard <bhubbard@redhat.com>
Tue, 16 Oct 2018 01:57:05 +0000 (11:57 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Thu, 18 Oct 2018 01:22:25 +0000 (11:22 +1000)
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>
ceph.spec.in

index 952763067d9dacce78f68490e4fdd4f84dc3ce86..70e8612de5736ff262b37112e6d71a1d81f91109 100644 (file)
@@ -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