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

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


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

    install to php data dir

 php-symfony2-PropertyAccess.spec | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/php-symfony2-PropertyAccess.spec b/php-symfony2-PropertyAccess.spec
index e4b07bd..88fe903 100644
--- a/php-symfony2-PropertyAccess.spec
+++ b/php-symfony2-PropertyAccess.spec
@@ -33,10 +33,10 @@ 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}
+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_pear_dir}/Symfony/Component/%{package}/Tests
+%{__rm} -r $RPM_BUILD_ROOT%{php_data_dir}/Symfony/Component/%{package}/Tests
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -44,6 +44,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG.md LICENSE README.md
-%dir %{php_pear_dir}/Symfony/Component/PropertyAccess
-%{php_pear_dir}/Symfony/Component/PropertyAccess/*.php
-%{php_pear_dir}/Symfony/Component/PropertyAccess/Exception
+%dir %{php_data_dir}/Symfony/Component/PropertyAccess
+%{php_data_dir}/Symfony/Component/PropertyAccess/*.php
+%{php_data_dir}/Symfony/Component/PropertyAccess/Exception
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-PropertyAccess.git/commitdiff/1848737e444413d561105a51e9739914f465ebd5



More information about the pld-cvs-commit mailing list