X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=php-dirs.spec;h=e8bb4094d8fc6dc0e38164c155a5a7d7fa443ffa;hb=b99de5430c0004dbc679619d779728f2bf85bd79;hp=ab989f5623593ba641b65a22348b6defe377a1d6;hpb=05ac7df25aad8dc5f0485988f3646f64843a15b9;p=packages%2Fphp-dirs.git diff --git a/php-dirs.spec b/php-dirs.spec index ab989f5..e8bb409 100644 --- a/php-dirs.spec +++ b/php-dirs.spec @@ -4,8 +4,8 @@ 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 -Release: 1 +Version: 1.4 +Release: 4 License: GPL Group: Base Source0: php-session.sh @@ -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,/var/log/archive/php} \ $RPM_BUILD_ROOT%{_docdir}/phpdoc \ $RPM_BUILD_ROOT%{systemdtmpfilesdir} @@ -55,6 +55,9 @@ fi %dir %{php_data_dir}/tests %dir %{_docdir}/phpdoc %attr(775,root,http) %dir %verify(not group mode) /var/log/php +%attr(770,root,root) %dir %verify(not group mode) /var/log/archive/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)