[packages/php-symfony2-HttpFoundation] install to php data dir
glen
glen at pld-linux.org
Wed Nov 25 22:27:34 CET 2015
commit 38ab21b7fc96e0a64ac4558aad3bd54253891cb2
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Nov 25 23:25:35 2015 +0200
install to php data dir
php-symfony2-HttpFoundation.spec | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/php-symfony2-HttpFoundation.spec b/php-symfony2-HttpFoundation.spec
index 6a1e9a2..4074305 100644
--- a/php-symfony2-HttpFoundation.spec
+++ b/php-symfony2-HttpFoundation.spec
@@ -31,9 +31,9 @@ phpab -n -e '*/Tests/*' -o autoload.php --tolerant .
%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
%clean
rm -rf $RPM_BUILD_ROOT
@@ -41,8 +41,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc CHANGELOG.md LICENSE README.md
-%dir %{php_pear_dir}/Symfony/Component/HttpFoundation
-%{php_pear_dir}/Symfony/Component/HttpFoundation/*.php
-%{php_pear_dir}/Symfony/Component/HttpFoundation/File
-%{php_pear_dir}/Symfony/Component/HttpFoundation/Resources
-%{php_pear_dir}/Symfony/Component/HttpFoundation/Session
+%dir %{php_data_dir}/Symfony/Component/HttpFoundation
+%{php_data_dir}/Symfony/Component/HttpFoundation/*.php
+%{php_data_dir}/Symfony/Component/HttpFoundation/File
+%{php_data_dir}/Symfony/Component/HttpFoundation/Resources
+%{php_data_dir}/Symfony/Component/HttpFoundation/Session
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-HttpFoundation.git/commitdiff/38ab21b7fc96e0a64ac4558aad3bd54253891cb2
More information about the pld-cvs-commit
mailing list