SPECS: php.spec - add logrotate to fpm
glen
glen at pld-linux.org
Sun Nov 16 19:51:13 CET 2008
Author: glen Date: Sun Nov 16 18:51:13 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add logrotate to fpm
---- Files affected:
SPECS:
php.spec (1.749 -> 1.750)
---- Diffs:
================================================================
Index: SPECS/php.spec
diff -u SPECS/php.spec:1.749 SPECS/php.spec:1.750
--- SPECS/php.spec:1.749 Sun Nov 16 16:57:18 2008
+++ SPECS/php.spec Sun Nov 16 19:51:07 2008
@@ -107,6 +107,7 @@
Source9: http://ftp.linux.ee/pub/gentoo/distfiles/distfiles/%{name}-patchset-%{version}-r8.tar.bz2
# Source9-md5: 0f411800537648d0748417124291bd58
Source10: %{name}-fpm.init
+Source11: %{name}-fpm.logrotate
Patch0: %{name}-shared.patch
Patch1: %{name}-pldlogo.patch
Patch2: %{name}-mail.patch
@@ -393,6 +394,7 @@
Requires(post,preun): /sbin/chkconfig
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires: libevent >= 1.4.7-3
+Requires: logrotate
Requires: rc-scripts
Provides: webserver(php) = %{version}
@@ -1993,6 +1995,8 @@
%{__make} install-fpm -f Makefile.fpm \
INSTALL_ROOT=$RPM_BUILD_ROOT
install %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/php-fpm
+install -d $RPM_BUILD_ROOT/etc/logrotate.d
+install %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/php-fpm
%endif
# install CLI
@@ -2427,6 +2431,7 @@
%defattr(644,root,root,755)
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.conf
%attr(755,root,root) %{_bindir}/php.fpm
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/php-fpm
%attr(754,root,root) /etc/rc.d/init.d/php-fpm
%endif
@@ -2873,6 +2878,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.750 2008/11/16 18:51:07 glen
+- add logrotate to fpm
+
Revision 1.749 2008/11/16 15:57:18 glen
- fpm subpackage
- install initscript for fpm
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php.spec?r1=1.749&r2=1.750&f=u
More information about the pld-cvs-commit
mailing list