From: Elan Ruusamäe Date: Fri, 17 Apr 2009 09:25:40 +0000 (+0000) Subject: - add %{php_data_dir}/tests; rel 3 X-Git-Tag: auto/ac/php-dirs-1_1-3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fphp-dirs.git;a=commitdiff_plain;h=2f53218478be08880731403cc890adc826580228 - add %{php_data_dir}/tests; rel 3 Changed files: php-dirs.spec -> 1.13 --- diff --git a/php-dirs.spec b/php-dirs.spec index 6d18194..b3fa9de 100644 --- a/php-dirs.spec +++ b/php-dirs.spec @@ -2,10 +2,10 @@ Summary: Common dirs for different PHP versions Summary(pl.UTF-8): Wspólne katalogi dla różnych wersji PHP Name: php-dirs Version: 1.1 -Release: 2 +Release: 3 License: GPL Group: Base -BuildRequires: rpmbuild(macros) >= 1.202 +BuildRequires: rpmbuild(macros) >= 1.461 Requires(postun): /usr/sbin/groupdel Requires(pre): /usr/bin/getgid Requires(pre): /usr/sbin/groupadd @@ -25,7 +25,7 @@ Wspólne katalogi dla PHP w wersji 4 oraz 5. %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_datadir}/php,/var/run/php} +install -d $RPM_BUILD_ROOT{%{php_data_dir}/tests,/var/run/php} install -d $RPM_BUILD_ROOT%{_docdir}/phpdoc install -d $RPM_BUILD_ROOT%{_tmpwatchdir} @@ -44,7 +44,8 @@ fi %files %defattr(644,root,root,755) -%dir %{_datadir}/php +%dir %{php_data_dir} +%dir %{php_data_dir}/tests %dir %{_docdir}/phpdoc %attr(770,root,http) %dir %verify(not group mode) /var/run/php %config(noreplace) %verify(not md5 mtime size) %{_tmpwatchdir}/php.conf