apache-php/apache-php.spec

changeset 731
dc14180f3f4e
parent 671
f82939c12e5f
child 749
cb3670951831
equal deleted inserted replaced
2:0d1269c631d6 3:6b1fa51d98b6
525 %{SOURCE apache-php.conf} \ 525 %{SOURCE apache-php.conf} \
526 $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d/ 526 $RPM_BUILD_ROOT%{l_prefix}/etc/apache/apache.d/
527 527
528 # create session storage directory 528 # create session storage directory
529 %if "%{with_session}" == "yes" 529 %if "%{with_session}" == "yes"
530 %{l_shtool} mkdir -f -p -m 755 \ 530 %{l_shtool} mkdir -f -p -m 775 \
531 $RPM_BUILD_ROOT%{l_prefix}/var/apache/run/apache-php.session 531 $RPM_BUILD_ROOT%{l_prefix}/var/apache/run/apache-php.session
532 %endif 532 %endif
533 533
534 # determine installation files 534 # determine installation files
535 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \ 535 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
536 %if "%{with_session}" == "yes" 536 %if "%{with_session}" == "yes"
537 '%attr(0750,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/apache/run/apache-php.session' \ 537 '%attr(0770,%{l_rusr},%{l_ngrp}) %{l_prefix}/var/apache/run/apache-php.session' \
538 %endif 538 %endif
539 '%config %{l_prefix}/etc/apache/apache-php.ini' \ 539 '%config %{l_prefix}/etc/apache/apache-php.ini' \
540 '%config %{l_prefix}/etc/apache/apache.d/apache-php.conf' 540 '%config %{l_prefix}/etc/apache/apache.d/apache-php.conf'
541 541
542 %files -f files 542 %files -f files

mercurial