[packages/redis] - up to 2.8.19
arekm
arekm at pld-linux.org
Mon Mar 2 11:12:34 CET 2015
commit 7ca0dec62d6e4d5da8f90e516367bf529279785f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Mar 2 11:12:29 2015 +0100
- up to 2.8.19
redis.spec | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/redis.spec b/redis.spec
index d020020..8c94ec1 100644
--- a/redis.spec
+++ b/redis.spec
@@ -18,12 +18,12 @@
Summary: A persistent key-value database
Name: redis
-Version: 2.8.9
+Version: 2.8.19
Release: 1
License: BSD
Group: Applications/Databases
Source0: http://download.redis.io/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 3c106b0f1128dc930684e2da88b2a03d
+# Source0-md5: 3794107224043465603f48941f5c86a7
Source1: %{name}.logrotate
Source2: %{name}.init
Source3: %{name}.tmpfiles
@@ -115,6 +115,9 @@ chmod a+x $RPM_BUILD_ROOT%{_bindir}/%{name}-*
# Ensure redis-server location doesn't change
mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/%{name}-server
+# Fix link
+ln -sf %{name}-server $RPM_BUILD_ROOT%{_bindir}/%{name}-sentinel
+
# Install misc other
install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
@@ -157,6 +160,7 @@ fi
%defattr(644,root,root,755)
%config(noreplace) %{_sysconfdir}/%{name}.conf
%attr(754,root,root) /etc/rc.d/init.d/%{name}
+%attr(755,root,root) %{_bindir}/redis-sentinel
%attr(755,root,root) %{_sbindir}/redis-server
%config(noreplace) /etc/logrotate.d/%{name}
%dir %attr(755,redis,root) %{_localstatedir}/lib/%{name}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/redis.git/commitdiff/7ca0dec62d6e4d5da8f90e516367bf529279785f
More information about the pld-cvs-commit
mailing list