diff --git a/ceph.spec.in b/ceph.spec.in index 15eefaee73b..328f61f634c 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -149,8 +149,13 @@ BuildRequires: gcc-c++ %endif BuildRequires: gdbm %if 0%{with tcmalloc} +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: gperftools-devel >= 2.6.1 +%endif +%if 0%{?suse_version} BuildRequires: gperftools-devel >= 2.4 %endif +%endif BuildRequires: jq BuildRequires: leveldb-devel > 1.2 BuildRequires: libaio-devel