summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-12-14 10:38:23 +0100
committerRemi Collet <fedora@famillecollet.com>2013-12-14 10:38:23 +0100
commitb241c08753ae86703bba9ff24f2c3ddafad1a8d5 (patch)
tree6a587c2026ca9704a781611f6c0777ec1cc5924d
parent1a6356a17b0a4a8e1f14c137c1aaffc602a8a84c (diff)
redis: fix el5 build
-rw-r--r--redis.spec6
1 files changed, 6 insertions, 0 deletions
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