RM has gperftools

This commit is contained in:
Peter Robinson 2013-07-23 18:10:05 +01:00
parent 88764f95a8
commit 652040440b

View File

@ -3,14 +3,14 @@
%global _hardened_build 1 %global _hardened_build 1
%ifarch %{ix86} x86_64 ppc %ifarch %{ix86} x86_64 ppc %{arm}
# available only on selected architectures # available only on selected architectures
%global with_perftools 1 %global with_perftools 1
%endif %endif
Name: redis Name: redis
Version: 2.6.13 Version: 2.6.13
Release: 3%{?dist} Release: 4%{?dist}
Summary: A persistent key-value database Summary: A persistent key-value database
Group: Applications/Databases Group: Applications/Databases
@ -29,7 +29,7 @@ BuildRequires: systemd-units
%if !0%{?el5} %if !0%{?el5}
BuildRequires: tcl >= 8.5 BuildRequires: tcl >= 8.5
%if 0%{?with_perftools} %if 0%{?with_perftools}
BuildRequires: google-perftools-devel BuildRequires: gperftools-devel
%endif %endif
%endif %endif
BuildRequires: jemalloc-devel BuildRequires: jemalloc-devel
@ -59,7 +59,7 @@ different kind of sorting abilities.
rm -rvf deps/jemalloc rm -rvf deps/jemalloc
export CFLAGS="$RPM_OPT_FLAGS" export CFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags} \ make %{?_smp_mflags} V=1 \
DEBUG="" \ DEBUG="" \
LDFLAGS="%{?__global_ldflags}" \ LDFLAGS="%{?__global_ldflags}" \
CFLAGS="$RPM_OPT_FLAGS -fPIC" \ CFLAGS="$RPM_OPT_FLAGS -fPIC" \
@ -126,6 +126,9 @@ fi
%{_unitdir}/%{name}.service %{_unitdir}/%{name}.service
%changelog %changelog
* Tue Jul 23 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2.6.13-4
- ARM has gperftools
* Wed Jun 19 2013 Fabian Deutsch <fabiand@fedoraproject.org> - 2.6.13-3 * Wed Jun 19 2013 Fabian Deutsch <fabiand@fedoraproject.org> - 2.6.13-3
- Modify jemalloc patch for s390 compatibility (Thanks sharkcz) - Modify jemalloc patch for s390 compatibility (Thanks sharkcz)