Update to redis 2.4.8

This commit is contained in:
Silas Sewell 2012-02-24 22:13:18 -05:00
parent ad07d15a1e
commit 61d13182bf
4 changed files with 18 additions and 13 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/redis-2.0.3.tar.gz
/redis-2.2.5.tar.gz
/redis-2.4.8.tar.gz

View File

@ -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.

View File

@ -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@sewell.org> - 2.4.8-1
- Update to redis 2.4.8
* Sat Apr 23 2011 Silas Sewell <silas@sewell.ch> - 2.2.5-2
- Remove google-perftools-devel

View File

@ -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