[packages/php/PHP_5_2] keep fpm log in /var/log/php

glen glen at pld-linux.org
Sun Jan 13 17:26:07 CET 2013


commit 65c2b55f044d762b1427ef8b9c1a9117b4c3935f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Jan 13 18:21:10 2013 +0200

    keep fpm log in /var/log/php

 php.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/php.spec b/php.spec
index c9d2f80..b3df069 100644
--- a/php.spec
+++ b/php.spec
@@ -568,7 +568,7 @@ Summary(uk.UTF-8):	Бібліотеки спільного використан
 Group:		Libraries
 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
 Requires:	glibc >= 6:2.3.5
-Requires:	php-dirs
+Requires:	php-dirs >= 1.3
 Requires:	rpm-whiteout >= 1.28
 Requires:	tzdata
 Provides:	php(core) = %{version}
@@ -2226,7 +2226,7 @@ for sapi in $sapis; do
 	--enable-xmlwriter=shared \
 %if %{with fpm}
 	--with-fpm-conf=%{_sysconfdir}/fpm.conf \
-	--with-fpm-log=/var/log/fpm.log \
+	--with-fpm-log=/var/log/php/%{name}-fpm.log \
 	--with-fpm-pid=/var/run/php/%{name}-fpm.pid \
 %endif
 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/65c2b55f044d762b1427ef8b9c1a9117b4c3935f



More information about the pld-cvs-commit mailing list