[packages/eventum: 6/11] use system psr/log
glen
glen at pld-linux.org
Thu Dec 31 22:59:34 CET 2015
commit 46e238af2ce41e0ed7ab1ef37d025e4ab87a388f
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Dec 31 19:48:49 2015 +0200
use system psr/log
autoload.patch | 11 +++++------
eventum.spec | 3 ++-
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/eventum.spec b/eventum.spec
index d074afc..1ba9661 100644
--- a/eventum.spec
+++ b/eventum.spec
@@ -2,7 +2,7 @@
# Conditional build:
%bcond_with order # with experimental order patch
-%define rel 1.1
+%define rel 1.2
%define subver 327
%define githash 34e5417
%define php_min_version 5.3.7
@@ -81,6 +81,7 @@ Requires: php-pear-Net_UserAgent_Detect
Requires: php-pear-PEAR-core
Requires: php-pear-Text_Diff
Requires: php-pear-XML_RPC
+Requires: php-psr-Log >= 1.0.0
Requires: phplot >= 5.8.0
Requires: webapps
Requires: webserver(access)
diff --git a/autoload.patch b/autoload.patch
index 52fd6d2..6a551e3 100644
--- a/autoload.patch
+++ b/autoload.patch
@@ -307,11 +307,9 @@
+ $phpDir. '/Smarty3/plugins/block.t.php',
$baseDir . '/lib/eventum/gettext.php',
);
---- eventum-3.0.6-327-g34e5417/vendor/composer/autoload_namespaces.php~ 2015-12-31 19:23:51.000000000 +0200
-+++ eventum-3.0.6-327-g34e5417/vendor/composer/autoload_namespaces.php 2015-12-31 19:33:54.323742468 +0200
-@@ -3,16 +3,17 @@
- // autoload_namespaces.php @generated by Composer
-
+--- eventum-3.0.6-327-g34e5417/vendor/composer/autoload_namespaces.php 2015-12-31 19:33:54.323742468 +0200
++++ eventum-3.0.6-327-g34e5417/vendor/composer/autoload_namespaces.php 2015-12-31 19:46:27.515826070 +0200
+@@ -5,14 +5,15 @@
$vendorDir = dirname(dirname(__FILE__));
-$baseDir = dirname($vendorDir);
+$pearDir = PEAR_INSTALL_DIR . '/';
@@ -319,13 +317,14 @@
return array(
'SecurityLib' => array($vendorDir . '/ircmaxell/security-lib/lib'),
'RandomLib' => array($vendorDir . '/ircmaxell/random-lib/lib'),
- 'Psr\\Log\\' => array($vendorDir . '/psr/log'),
+- 'Psr\\Log\\' => array($vendorDir . '/psr/log'),
- 'PEAR' => array($vendorDir . '/pear/pear_exception'),
- 'Net' => array($vendorDir . '/pear/net_smtp'),
- 'Mail' => array($vendorDir . '/pear/mail'),
- 'DB' => array($vendorDir . '/pear/db'),
- 'Auth' => array($vendorDir . '/pear/auth_sasl'),
- '' => array($vendorDir . '/pear/pear-core-minimal/src'),
++ 'Psr\\Log\\' => array($phpDir),
+ 'Auth' => array($pearDir),
+ 'DB' => array($pearDir),
+ 'Mail' => array($pearDir),
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/eventum.git/commitdiff/360a26c0896c04f56f467bea30ab4a6cc9b56aa7
More information about the pld-cvs-commit
mailing list