[packages/php-psr-Log] install to php data dir, not pear

glen glen at pld-linux.org
Mon Nov 9 22:56:27 CET 2015


commit 6ae156ec5a2ed4bd7a1067288d0ebf7da62874ed
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Nov 9 23:56:22 2015 +0200

    install to php data dir, not pear

 php-psr-Log.spec | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/php-psr-Log.spec b/php-psr-Log.spec
index afcd047..dc238fe 100644
--- a/php-psr-Log.spec
+++ b/php-psr-Log.spec
@@ -4,7 +4,7 @@
 Summary:	Common interface for logging libraries
 Name:		php-psr-Log
 Version:	1.0.0
-Release:	1
+Release:	2
 License:	MIT
 Group:		Development/Languages/PHP
 Source0:	https://github.com/php-fig/log/archive/%{version}/%{pearname}-%{version}.tar.gz
@@ -29,8 +29,8 @@ mv Psr/Log/Test .
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}
-cp -a Psr $RPM_BUILD_ROOT%{php_pear_dir}
+install -d $RPM_BUILD_ROOT%{php_data_dir}
+cp -a Psr $RPM_BUILD_ROOT%{php_data_dir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -38,13 +38,13 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc LICENSE README.md
-%dir %{php_pear_dir}/Psr
-%dir %{php_pear_dir}/Psr/Log
-%{php_pear_dir}/Psr/Log/AbstractLogger.php
-%{php_pear_dir}/Psr/Log/InvalidArgumentException.php
-%{php_pear_dir}/Psr/Log/LogLevel.php
-%{php_pear_dir}/Psr/Log/LoggerAwareInterface.php
-%{php_pear_dir}/Psr/Log/LoggerAwareTrait.php
-%{php_pear_dir}/Psr/Log/LoggerInterface.php
-%{php_pear_dir}/Psr/Log/LoggerTrait.php
-%{php_pear_dir}/Psr/Log/NullLogger.php
+%dir %{php_data_dir}/Psr
+%dir %{php_data_dir}/Psr/Log
+%{php_data_dir}/Psr/Log/AbstractLogger.php
+%{php_data_dir}/Psr/Log/InvalidArgumentException.php
+%{php_data_dir}/Psr/Log/LogLevel.php
+%{php_data_dir}/Psr/Log/LoggerAwareInterface.php
+%{php_data_dir}/Psr/Log/LoggerAwareTrait.php
+%{php_data_dir}/Psr/Log/LoggerInterface.php
+%{php_data_dir}/Psr/Log/LoggerTrait.php
+%{php_data_dir}/Psr/Log/NullLogger.php
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-psr-Log.git/commitdiff/6ae156ec5a2ed4bd7a1067288d0ebf7da62874ed



More information about the pld-cvs-commit mailing list