[packages/php-symfony2-MonologBridge] install to php data dir
glen
glen at pld-linux.org
Wed Nov 25 22:26:50 CET 2015
commit 19ada770c350affeb645d2abc4ca362aa0899e17
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Nov 25 23:25:35 2015 +0200
install to php data dir
php-symfony2-MonologBridge.spec | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/php-symfony2-MonologBridge.spec b/php-symfony2-MonologBridge.spec
index b98f117..4faa7e8 100644
--- a/php-symfony2-MonologBridge.spec
+++ b/php-symfony2-MonologBridge.spec
@@ -35,9 +35,9 @@ phpab -n -e '*/Tests/*' -o autoload.php .
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Bridge/Monolog
-cp -a *.php */ $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Bridge/Monolog
-rm -r $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Bridge/Monolog/Tests
+install -d $RPM_BUILD_ROOT%{php_data_dir}/Symfony/Bridge/Monolog
+cp -a *.php */ $RPM_BUILD_ROOT%{php_data_dir}/Symfony/Bridge/Monolog
+rm -r $RPM_BUILD_ROOT%{php_data_dir}/Symfony/Bridge/Monolog/Tests
%clean
rm -rf $RPM_BUILD_ROOT
@@ -45,8 +45,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc CHANGELOG.md LICENSE README.md
-%dir %{php_pear_dir}/Symfony/Bridge/Monolog
-%{php_pear_dir}/Symfony/Bridge/Monolog/*.php
-%{php_pear_dir}/Symfony/Bridge/Monolog/Formatter
-%{php_pear_dir}/Symfony/Bridge/Monolog/Handler
-%{php_pear_dir}/Symfony/Bridge/Monolog/Processor
+%dir %{php_data_dir}/Symfony/Bridge/Monolog
+%{php_data_dir}/Symfony/Bridge/Monolog/*.php
+%{php_data_dir}/Symfony/Bridge/Monolog/Formatter
+%{php_data_dir}/Symfony/Bridge/Monolog/Handler
+%{php_data_dir}/Symfony/Bridge/Monolog/Processor
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-MonologBridge.git/commitdiff/19ada770c350affeb645d2abc4ca362aa0899e17
More information about the pld-cvs-commit
mailing list