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

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


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

    install to php data dir

 php-symfony2-Security.spec | 112 ++++++++++++++++++++++-----------------------
 1 file changed, 56 insertions(+), 56 deletions(-)
---
diff --git a/php-symfony2-Security.spec b/php-symfony2-Security.spec
index 777e25e..d5f9850 100644
--- a/php-symfony2-Security.spec
+++ b/php-symfony2-Security.spec
@@ -50,12 +50,12 @@ 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}/Csrf/Tests
-rm -r $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{package}/Http/Tests
-rm -r $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{package}/Core/Tests
-rm -r $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{package}/Acl/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}/Csrf/Tests
+rm -r $RPM_BUILD_ROOT%{php_data_dir}/Symfony/Component/%{package}/Http/Tests
+rm -r $RPM_BUILD_ROOT%{php_data_dir}/Symfony/Component/%{package}/Core/Tests
+rm -r $RPM_BUILD_ROOT%{php_data_dir}/Symfony/Component/%{package}/Acl/Tests
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -64,55 +64,55 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc CHANGELOG.md LICENSE README.md
 %doc README_Csrf.md LICENSE_Csrf
-%dir %{php_pear_dir}/Symfony/Component/Security
-%{php_pear_dir}/Symfony/Component/Security/*.php
-%{php_pear_dir}/Symfony/Component/Security/Acl
-%{php_pear_dir}/Symfony/Component/Security/Core
-%{php_pear_dir}/Symfony/Component/Security/Http
+%dir %{php_data_dir}/Symfony/Component/Security
+%{php_data_dir}/Symfony/Component/Security/*.php
+%{php_data_dir}/Symfony/Component/Security/Acl
+%{php_data_dir}/Symfony/Component/Security/Core
+%{php_data_dir}/Symfony/Component/Security/Http
 
-%dir %{php_pear_dir}/Symfony/Component/Security/Csrf
-%{php_pear_dir}/Symfony/Component/Security/Csrf/*.php
-%{php_pear_dir}/Symfony/Component/Security/Csrf/Exception
-%{php_pear_dir}/Symfony/Component/Security/Csrf/TokenGenerator
-%{php_pear_dir}/Symfony/Component/Security/Csrf/TokenStorage
+%dir %{php_data_dir}/Symfony/Component/Security/Csrf
+%{php_data_dir}/Symfony/Component/Security/Csrf/*.php
+%{php_data_dir}/Symfony/Component/Security/Csrf/Exception
+%{php_data_dir}/Symfony/Component/Security/Csrf/TokenGenerator
+%{php_data_dir}/Symfony/Component/Security/Csrf/TokenStorage
 
-%dir %{php_pear_dir}/Symfony/Component/Security/Resources
-%dir %{php_pear_dir}/Symfony/Component/Security/Resources/translations
-%lang(ar) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.ar.xlf
-%lang(az) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.az.xlf
-%lang(bg) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.bg.xlf
-%lang(ca) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.ca.xlf
-%lang(cs) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.cs.xlf
-%lang(da) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.da.xlf
-%lang(de) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.de.xlf
-%lang(el) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.el.xlf
-%lang(en) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.en.xlf
-%lang(es) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.es.xlf
-%lang(fa) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.fa.xlf
-%lang(fr) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.fr.xlf
-%lang(gl) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.gl.xlf
-%lang(he) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.he.xlf
-%lang(hr) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.hr.xlf
-%lang(hu) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.hu.xlf
-%lang(id) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.id.xlf
-%lang(it) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.it.xlf
-%lang(ja) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.ja.xlf
-%lang(lb) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.lb.xlf
-%lang(lt) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.lt.xlf
-%lang(nl) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.nl.xlf
-%lang(no) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.no.xlf
-%lang(pl) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.pl.xlf
-%lang(pt_BR) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.pt_BR.xlf
-%lang(pt_PT) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.pt_PT.xlf
-%lang(ro) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.ro.xlf
-%lang(ru) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.ru.xlf
-%lang(sk) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.sk.xlf
-%lang(sl) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.sl.xlf
-%lang(sr at cyrillic) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.sr_Cyrl.xlf
-%lang(sr at latin) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.sr_Latn.xlf
-%lang(sv) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.sv.xlf
-%lang(th) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.th.xlf
-%lang(tr) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.tr.xlf
-%lang(ua) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.ua.xlf
-%lang(vi) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.vi.xlf
-%lang(zh_CN) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.zh_CN.xlf
+%dir %{php_data_dir}/Symfony/Component/Security/Resources
+%dir %{php_data_dir}/Symfony/Component/Security/Resources/translations
+%lang(ar) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.ar.xlf
+%lang(az) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.az.xlf
+%lang(bg) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.bg.xlf
+%lang(ca) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.ca.xlf
+%lang(cs) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.cs.xlf
+%lang(da) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.da.xlf
+%lang(de) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.de.xlf
+%lang(el) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.el.xlf
+%lang(en) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.en.xlf
+%lang(es) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.es.xlf
+%lang(fa) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.fa.xlf
+%lang(fr) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.fr.xlf
+%lang(gl) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.gl.xlf
+%lang(he) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.he.xlf
+%lang(hr) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.hr.xlf
+%lang(hu) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.hu.xlf
+%lang(id) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.id.xlf
+%lang(it) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.it.xlf
+%lang(ja) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.ja.xlf
+%lang(lb) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.lb.xlf
+%lang(lt) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.lt.xlf
+%lang(nl) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.nl.xlf
+%lang(no) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.no.xlf
+%lang(pl) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.pl.xlf
+%lang(pt_BR) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.pt_BR.xlf
+%lang(pt_PT) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.pt_PT.xlf
+%lang(ro) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.ro.xlf
+%lang(ru) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.ru.xlf
+%lang(sk) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.sk.xlf
+%lang(sl) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.sl.xlf
+%lang(sr at cyrillic) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.sr_Cyrl.xlf
+%lang(sr at latin) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.sr_Latn.xlf
+%lang(sv) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.sv.xlf
+%lang(th) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.th.xlf
+%lang(tr) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.tr.xlf
+%lang(ua) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.ua.xlf
+%lang(vi) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.vi.xlf
+%lang(zh_CN) %{php_data_dir}/Symfony/Component/Security/Resources/translations/security.zh_CN.xlf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-Security.git/commitdiff/fe5ea09611c94fc5d42b42a6e85df9add3e5cf1f



More information about the pld-cvs-commit mailing list