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

glen glen at pld-linux.org
Wed Nov 25 22:27:05 CET 2015


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

    install to php data dir

 php-symfony2-Routing.spec | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/php-symfony2-Routing.spec b/php-symfony2-Routing.spec
index e38b581..9a22127 100644
--- a/php-symfony2-Routing.spec
+++ b/php-symfony2-Routing.spec
@@ -41,19 +41,19 @@ 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
 
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG.md LICENSE README.md
-%dir %{php_pear_dir}/Symfony/Component/Routing
-%{php_pear_dir}/Symfony/Component/Routing/*.php
-%{php_pear_dir}/Symfony/Component/Routing/Annotation
-%{php_pear_dir}/Symfony/Component/Routing/Exception
-%{php_pear_dir}/Symfony/Component/Routing/Generator
-%{php_pear_dir}/Symfony/Component/Routing/Loader
-%{php_pear_dir}/Symfony/Component/Routing/Matcher
+%dir %{php_data_dir}/Symfony/Component/Routing
+%{php_data_dir}/Symfony/Component/Routing/*.php
+%{php_data_dir}/Symfony/Component/Routing/Annotation
+%{php_data_dir}/Symfony/Component/Routing/Exception
+%{php_data_dir}/Symfony/Component/Routing/Generator
+%{php_data_dir}/Symfony/Component/Routing/Loader
+%{php_data_dir}/Symfony/Component/Routing/Matcher
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-Routing.git/commitdiff/c57f4bf1f7863c1174550cbf4eadd6949a975efe



More information about the pld-cvs-commit mailing list