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

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


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

    install to php data dir

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

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-OptionsResolver.git/commitdiff/b0a6226d71bc4ab0a1bc553b097bac697366c910



More information about the pld-cvs-commit mailing list