[packages/php-symfony2-EventDispatcher] install to php data dir
glen
glen at pld-linux.org
Wed Nov 25 22:26:40 CET 2015
commit ef2391f32527969398209986db090689e3aabe46
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Nov 25 23:25:35 2015 +0200
install to php data dir
php-symfony2-EventDispatcher.spec | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/php-symfony2-EventDispatcher.spec b/php-symfony2-EventDispatcher.spec
index 5bf6e28..4d96e98 100644
--- a/php-symfony2-EventDispatcher.spec
+++ b/php-symfony2-EventDispatcher.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,7 +42,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc CHANGELOG.md LICENSE README.md
-%dir %{php_pear_dir}/Symfony/Component/EventDispatcher
-%{php_pear_dir}/Symfony/Component/EventDispatcher/*.php
-%{php_pear_dir}/Symfony/Component/EventDispatcher/Debug
-%{php_pear_dir}/Symfony/Component/EventDispatcher/DependencyInjection
+%dir %{php_data_dir}/Symfony/Component/EventDispatcher
+%{php_data_dir}/Symfony/Component/EventDispatcher/*.php
+%{php_data_dir}/Symfony/Component/EventDispatcher/Debug
+%{php_data_dir}/Symfony/Component/EventDispatcher/DependencyInjection
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-EventDispatcher.git/commitdiff/ef2391f32527969398209986db090689e3aabe46
More information about the pld-cvs-commit
mailing list