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

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


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

    install to php data dir

 php-symfony2-Translation.spec | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/php-symfony2-Translation.spec b/php-symfony2-Translation.spec
index 33cbe6b..3eb56d2 100644
--- a/php-symfony2-Translation.spec
+++ b/php-symfony2-Translation.spec
@@ -40,9 +40,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
@@ -50,12 +50,12 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG.md LICENSE README.md
-%dir %{php_pear_dir}/Symfony/Component/Translation
-%{php_pear_dir}/Symfony/Component/Translation/*.php
-%{php_pear_dir}/Symfony/Component/Translation/Catalogue
-%{php_pear_dir}/Symfony/Component/Translation/Dumper
-%{php_pear_dir}/Symfony/Component/Translation/Exception
-%{php_pear_dir}/Symfony/Component/Translation/Extractor
-%{php_pear_dir}/Symfony/Component/Translation/Loader
-%{php_pear_dir}/Symfony/Component/Translation/Writer
+%dir %{php_data_dir}/Symfony/Component/Translation
+%{php_data_dir}/Symfony/Component/Translation/*.php
+%{php_data_dir}/Symfony/Component/Translation/Catalogue
+%{php_data_dir}/Symfony/Component/Translation/Dumper
+%{php_data_dir}/Symfony/Component/Translation/Exception
+%{php_data_dir}/Symfony/Component/Translation/Extractor
+%{php_data_dir}/Symfony/Component/Translation/Loader
+%{php_data_dir}/Symfony/Component/Translation/Writer
 /usr/share/pear/Symfony/Component/Translation/DataCollector
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-Translation.git/commitdiff/9230bdbdf45aa9c24a7dc1676cb901fc1cbfaedf



More information about the pld-cvs-commit mailing list