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

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


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

    install to php data dir

 php-symfony2-DependencyInjection.spec | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/php-symfony2-DependencyInjection.spec b/php-symfony2-DependencyInjection.spec
index b8da135..049510a 100644
--- a/php-symfony2-DependencyInjection.spec
+++ b/php-symfony2-DependencyInjection.spec
@@ -38,9 +38,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
@@ -48,12 +48,12 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG.md LICENSE README.md
-%dir %{php_pear_dir}/Symfony/Component/DependencyInjection
-%{php_pear_dir}/Symfony/Component/DependencyInjection/*.php
-%{php_pear_dir}/Symfony/Component/DependencyInjection/Compiler
-%{php_pear_dir}/Symfony/Component/DependencyInjection/Dumper
-%{php_pear_dir}/Symfony/Component/DependencyInjection/Exception
-%{php_pear_dir}/Symfony/Component/DependencyInjection/Extension
-%{php_pear_dir}/Symfony/Component/DependencyInjection/LazyProxy
-%{php_pear_dir}/Symfony/Component/DependencyInjection/Loader
-%{php_pear_dir}/Symfony/Component/DependencyInjection/ParameterBag
+%dir %{php_data_dir}/Symfony/Component/DependencyInjection
+%{php_data_dir}/Symfony/Component/DependencyInjection/*.php
+%{php_data_dir}/Symfony/Component/DependencyInjection/Compiler
+%{php_data_dir}/Symfony/Component/DependencyInjection/Dumper
+%{php_data_dir}/Symfony/Component/DependencyInjection/Exception
+%{php_data_dir}/Symfony/Component/DependencyInjection/Extension
+%{php_data_dir}/Symfony/Component/DependencyInjection/LazyProxy
+%{php_data_dir}/Symfony/Component/DependencyInjection/Loader
+%{php_data_dir}/Symfony/Component/DependencyInjection/ParameterBag
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-DependencyInjection.git/commitdiff/fa2a3563b7bbec253d24f56768b9e165b562b1ad



More information about the pld-cvs-commit mailing list