[packages/php-symfony2-Filesystem] install to php data dir

glen glen at pld-linux.org
Wed Nov 25 22:26:18 CET 2015


commit 3257af63750e6ef6be072b800c57f3004c12a924
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Nov 25 23:25:35 2015 +0200

    install to php data dir

 php-symfony2-Filesystem.spec | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/php-symfony2-Filesystem.spec b/php-symfony2-Filesystem.spec
index 2e98944..752d178 100644
--- a/php-symfony2-Filesystem.spec
+++ b/php-symfony2-Filesystem.spec
@@ -31,9 +31,9 @@ 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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -41,6 +41,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG.md LICENSE README.md
-%dir %{php_pear_dir}/Symfony/Component/Filesystem
-%{php_pear_dir}/Symfony/Component/Filesystem/*.php
-%{php_pear_dir}/Symfony/Component/Filesystem/Exception
+%dir %{php_data_dir}/Symfony/Component/Filesystem
+%{php_data_dir}/Symfony/Component/Filesystem/*.php
+%{php_data_dir}/Symfony/Component/Filesystem/Exception
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-Filesystem.git/commitdiff/3257af63750e6ef6be072b800c57f3004c12a924



More information about the pld-cvs-commit mailing list