[packages/php-dirs] add /var/cache/php; currently for php-soap wsdl cache
glen
glen at pld-linux.org
Mon Jan 21 11:08:43 CET 2013
commit ebe84aa148ab808540ecc0c829cb8ed79073daa0
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Jan 21 12:07:59 2013 +0200
add /var/cache/php; currently for php-soap wsdl cache
see 5151b48741109dc70350cbfb37214e884cc2f161 in php.spec
php-dirs.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/php-dirs.spec b/php-dirs.spec
index ab989f5..b6ecab3 100644
--- a/php-dirs.spec
+++ b/php-dirs.spec
@@ -4,7 +4,7 @@
Summary: Common dirs for different PHP versions
Summary(pl.UTF-8): Wspólne katalogi dla różnych wersji PHP
Name: php-dirs
-Version: 1.3
+Version: 1.4
Release: 1
License: GPL
Group: Base
@@ -29,7 +29,7 @@ Wspólne katalogi dla PHP w wersji 4 oraz 5.
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{php_data_dir}/tests,/etc/cron.hourly,/var/{run,log}/php} \
+install -d $RPM_BUILD_ROOT{%{php_data_dir}/tests,/etc/cron.hourly,/var/{cache,log,run}/php} \
$RPM_BUILD_ROOT%{_docdir}/phpdoc \
$RPM_BUILD_ROOT%{systemdtmpfilesdir}
@@ -55,6 +55,8 @@ fi
%dir %{php_data_dir}/tests
%dir %{_docdir}/phpdoc
%attr(775,root,http) %dir %verify(not group mode) /var/log/php
+# no +r, so only predictable names can be used. currently php-soap wsdl cache is there
+%attr(730,root,http) %dir %verify(not group mode) /var/cache/php
# http needs only x for directory (otherwise it knows session file
# names and can read it contents)
# keep o+x for fcgi.sock (lighttpd)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-dirs.git/commitdiff/ebe84aa148ab808540ecc0c829cb8ed79073daa0
More information about the pld-cvs-commit
mailing list