summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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