[redis/el6] Update to redis 2.4.8

Silas Sewell silas at fedoraproject.org
Sat Feb 25 03:13:57 UTC 2012


commit 61d13182bf8ae9fc11ec68829081a32fd958af61
Author: Silas Sewell <silas at sewell.org>
Date:   Fri Feb 24 22:13:18 2012 -0500

    Update to redis 2.4.8

 .gitignore                                         |    1 +
 ...edis.conf.patch => redis-2.4.8-redis.conf.patch |   10 +++++-----
 redis.spec                                         |   19 +++++++++++--------
 sources                                            |    1 +
 4 files changed, 18 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b80c07e..37d9cb3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /redis-2.0.3.tar.gz
 /redis-2.2.5.tar.gz
+/redis-2.4.8.tar.gz
diff --git a/redis-2.2.2-redis.conf.patch b/redis-2.4.8-redis.conf.patch
similarity index 87%
rename from redis-2.2.2-redis.conf.patch
rename to redis-2.4.8-redis.conf.patch
index d917ffc..d9410c8 100644
--- a/redis-2.2.2-redis.conf.patch
+++ b/redis-2.4.8-redis.conf.patch
@@ -1,6 +1,6 @@
-diff -up redis-2.2.2/redis.conf.orig redis-2.2.2/redis.conf
---- redis-2.2.2/redis.conf.orig	2011-03-26 09:25:58.447039591 -0400
-+++ redis-2.2.2/redis.conf	2011-03-26 09:28:09.116651574 -0400
+diff -up redis-2.4.8/redis.conf.orig redis-2.4.8/redis.conf
+--- redis-2.4.8/redis.conf.orig	2012-02-24 21:59:55.606998781 -0500
++++ redis-2.4.8/redis.conf	2012-02-24 22:02:32.598539907 -0500
 @@ -14,11 +14,11 @@
  
  # By default Redis does not run as a daemon. Use 'yes' if you need it.
@@ -24,7 +24,7 @@ diff -up redis-2.2.2/redis.conf.orig redis-2.2.2/redis.conf
  
  # Specify the path for the unix socket that will be used to listen for
  # incoming connections. There is no default, so Redis will not listen
-@@ -44,12 +44,12 @@ timeout 300
+@@ -45,12 +45,12 @@ timeout 0
  # verbose (many rarely useful info, but not a mess like the debug level)
  # notice (moderately verbose, what you want in production probably)
  # warning (only very important / critical messages are logged)
@@ -39,7 +39,7 @@ diff -up redis-2.2.2/redis.conf.orig redis-2.2.2/redis.conf
  
  # To enable logging to the system logger, just set 'syslog-enabled' to yes,
  # and optionally update the other syslog parameters to suit your needs.
-@@ -103,7 +103,7 @@ dbfilename dump.rdb
+@@ -104,7 +104,7 @@ dbfilename dump.rdb
  # Also the Append Only File will be created inside this directory.
  # 
  # Note that you must specify a directory here, not a file name.
diff --git a/redis.spec b/redis.spec
index 3936185..3b0b4a8 100644
--- a/redis.spec
+++ b/redis.spec
@@ -2,18 +2,18 @@
 # http://code.google.com/p/redis/issues/detail?id=202
 
 Name:             redis
-Version:          2.2.5
-Release:          2%{?dist}
+Version:          2.4.8
+Release:          1%{?dist}
 Summary:          A persistent key-value database
 
 Group:            Applications/Databases
 License:          BSD
-URL:              http://code.google.com/p/redis/
+URL:              http://redis.io
 Source0:          http://redis.googlecode.com/files/%{name}-%{version}.tar.gz
 Source1:          %{name}.logrotate
 Source2:          %{name}.init
-# Update configuration for Fedora
-Patch0:           %{name}-2.2.2-redis.conf.patch
+# Update configuration
+Patch0:           %{name}-2.4.8-redis.conf.patch
 BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:    tcl >= 8.5
@@ -40,11 +40,11 @@ different kind of sorting abilities.
 %build
 make %{?_smp_mflags} \
   DEBUG="" \
-  CFLAGS='%{optflags} -std=c99' \
+  CFLAGS='%{optflags}' \
   all
 
 %check
-# make test
+make test
 
 %install
 rm -fr %{buildroot}
@@ -85,7 +85,7 @@ fi
 
 %files
 %defattr(-,root,root,-)
-%doc 00-RELEASENOTES BUGS COPYING Changelog README doc/
+%doc 00-RELEASENOTES BUGS CONTRIBUTING COPYING README TODO
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
 %config(noreplace) %{_sysconfdir}/%{name}.conf
 %dir %attr(0755, redis, root) %{_localstatedir}/lib/%{name}
@@ -96,6 +96,9 @@ fi
 %{_initrddir}/%{name}
 
 %changelog
+* Fri Feb 24 2012 Silas Sewell <silas at sewell.org> - 2.4.8-1
+- Update to redis 2.4.8
+
 * Sat Apr 23 2011 Silas Sewell <silas at sewell.ch> - 2.2.5-2
 - Remove google-perftools-devel
 
diff --git a/sources b/sources
index 35cfc63..94feb69 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,3 @@
 7799de79f36ebdb73bcb8f09816d1ac3  redis-2.0.3.tar.gz
 fe6395bbd2cadc45f4f20f6bbe05ed09  redis-2.2.5.tar.gz
+ac776d25f238b142d3d526cfcdc621ab  redis-2.4.8.tar.gz


More information about the scm-commits mailing list