From 46ea918a987270ac6f87b128b4aa8fb10e2fb5f5 Mon Sep 17 00:00:00 2001 From: Warren Togami Date: Wed, 23 Jul 2014 19:44:23 -1000 Subject: [PATCH] - Fix detection of EL7: systemd unit was missing - Fix detection of EL5 --- redis.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/redis.spec b/redis.spec index d27f5e7..a3a2207 100644 --- a/redis.spec +++ b/redis.spec @@ -3,18 +3,18 @@ %global with_perftools 0 # Prior to redis 2.8 sentinel didn't work correctly. -%if 0%{?fedora} >= 21 || 0%{?el} >= 7 +%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7 %global with_sentinel 1 %endif -%if 0%{?fedora} >= 15 || 0%{?el} >= 7 +%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7 %global with_systemd 1 %else %global with_systemd 0 %endif # tcl 8.4 in EL5. -%if 0%{?el} && 0%{?el} <= 5 +%if 0%{?el5} %global with_tests 0 %else %global with_tests 1 @@ -22,7 +22,7 @@ Name: redis Version: 2.8.13 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A persistent caching system, key-value and data structures database License: BSD URL: http://redis.io @@ -247,6 +247,10 @@ fi %endif %changelog +* Wed Jul 23 2014 Warren Togami - 2.8.13-2 +- Fix detection of EL7: systemd unit was missing +- Fix detection of EL5 + * Wed Jul 16 2014 Christopher Meng - 2.8.13-1 - Update to 2.8.13