From b241c08753ae86703bba9ff24f2c3ddafad1a8d5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 14 Dec 2013 10:38:23 +0100 Subject: redis: fix el5 build --- redis.spec | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'redis.spec') diff --git a/redis.spec b/redis.spec index 17fb09d..9b6840b 100644 --- a/redis.spec +++ b/redis.spec @@ -3,10 +3,16 @@ %global _hardened_build 1 +%if 0%{?rhel} == 5 +%ifarch i386 +%global with_perftools 1 +%endif +%else %ifarch %{ix86} x86_64 ppc %{arm} # available only on selected architectures %global with_perftools 1 %endif +%endif %if 0%{?fedora} >= 15 || 0%{?rhel} >= 7 %global with_systemd 1 -- cgit