packages: redis/redis.spec - add logrotate logdir
glen
glen at pld-linux.org
Mon Jan 16 13:33:22 CET 2012
Author: glen Date: Mon Jan 16 12:33:22 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- add logrotate logdir
---- Files affected:
packages/redis:
redis.spec (1.13 -> 1.14)
---- Diffs:
================================================================
Index: packages/redis/redis.spec
diff -u packages/redis/redis.spec:1.13 packages/redis/redis.spec:1.14
--- packages/redis/redis.spec:1.13 Sat Oct 29 14:00:46 2011
+++ packages/redis/redis.spec Mon Jan 16 13:33:17 2012
@@ -99,6 +99,7 @@
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
%{__make} install \
PREFIX=$RPM_BUILD_ROOT%{_prefix}
@@ -111,10 +112,10 @@
# Install misc other
install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d}
-install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
-install -p -D %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
-install -d $RPM_BUILD_ROOT%{_localstatedir}/{lib,log,run}/%{name}
+cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
+cp -p %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}
+install -d $RPM_BUILD_ROOT%{_localstatedir}/{{lib,log,run}/%{name},log/archive/%{name}}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -155,6 +156,7 @@
%config(noreplace) /etc/logrotate.d/%{name}
%dir %attr(755,redis,root) %{_localstatedir}/lib/%{name}
%dir %attr(755,redis,root) %{_localstatedir}/log/%{name}
+%dir %{_localstatedir}/log/archive/%{name}
%dir %attr(755,redis,root) %{_localstatedir}/run/%{name}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -163,6 +165,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.14 2012/01/16 12:33:17 glen
+- add logrotate logdir
+
Revision 1.13 2011/10/29 12:00:46 glen
- up to 2.4.2, -doc package gone
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/redis/redis.spec?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list