[packages/php-symfony2-ExpressionLanguage] install to php data dir
glen
glen at pld-linux.org
Wed Nov 25 22:26:43 CET 2015
commit 2d173d34f31ebee9e0bf4ddde0f55ebfc62f5562
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Nov 25 23:25:35 2015 +0200
install to php data dir
php-symfony2-ExpressionLanguage.spec | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/php-symfony2-ExpressionLanguage.spec b/php-symfony2-ExpressionLanguage.spec
index 30b181f..154781c 100644
--- a/php-symfony2-ExpressionLanguage.spec
+++ b/php-symfony2-ExpressionLanguage.spec
@@ -36,11 +36,11 @@ phpab -n -e '*/Tests/*' -o autoload.php .
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{package}
-cp -a *.php */ $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{package}
-rm -r $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{package}/Tests
+install -d $RPM_BUILD_ROOT%{php_data_dir}/Symfony/Component/%{package}
+cp -a *.php */ $RPM_BUILD_ROOT%{php_data_dir}/Symfony/Component/%{package}
+rm -r $RPM_BUILD_ROOT%{php_data_dir}/Symfony/Component/%{package}/Tests
# dev
-rm $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{package}/Resources/bin/generate_operator_regex.php
+rm $RPM_BUILD_ROOT%{php_data_dir}/Symfony/Component/%{package}/Resources/bin/generate_operator_regex.php
%clean
rm -rf $RPM_BUILD_ROOT
@@ -48,7 +48,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc CHANGELOG.md LICENSE README.md
-%dir %{php_pear_dir}/Symfony/Component/ExpressionLanguage
-%{php_pear_dir}/Symfony/Component/ExpressionLanguage/*.php
-%{php_pear_dir}/Symfony/Component/ExpressionLanguage/Node
-%{php_pear_dir}/Symfony/Component/ExpressionLanguage/ParserCache
+%dir %{php_data_dir}/Symfony/Component/ExpressionLanguage
+%{php_data_dir}/Symfony/Component/ExpressionLanguage/*.php
+%{php_data_dir}/Symfony/Component/ExpressionLanguage/Node
+%{php_data_dir}/Symfony/Component/ExpressionLanguage/ParserCache
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-ExpressionLanguage.git/commitdiff/2d173d34f31ebee9e0bf4ddde0f55ebfc62f5562
More information about the pld-cvs-commit
mailing list