diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-12-14 10:38:23 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-12-14 10:38:23 +0100 |
commit | b241c08753ae86703bba9ff24f2c3ddafad1a8d5 (patch) | |
tree | 6a587c2026ca9704a781611f6c0777ec1cc5924d | |
parent | 1a6356a17b0a4a8e1f14c137c1aaffc602a8a84c (diff) |
redis: fix el5 build
-rw-r--r-- | redis.spec | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |