Hello community,
here is the log from the commit of package perl-Log-Dispatch for openSUSE:Factory
checked in at Mon Jan 11 17:05:16 CET 2010.
--------
--- perl-Log-Dispatch/perl-Log-Dispatch.changes 2008-09-12 14:03:39.000000000 +0200
+++ /mounts/work_src_done/STABLE/perl-Log-Dispatch/perl-Log-Dispatch.changes 2009-12-12 21:24:24.000000000 +0100
@@ -1,0 +2,68 @@
+Sat Dec 12 18:51:57 UTC 2009 - chris@computersalat.de
+
+- update to 2.26
+ - Doc updates. The 2.23 constructor API was still shown in all the output
+ subclasses. Fixed by Jon Swartz.
+- 2.25 Sep 15, 2009
+ - Added a workaround for a weird tainting issue with Params::Validate. This
+ caused a taint exception when a Log::Dispatch::Syslog was created under
+ taint mode. Note that there is still a problem in Params::Validate itself,
+ this is just a hack.
+- 2.24 Sep 13, 2009
+ - Simplified new constructor API (the 2.23 API is still silently supported but
+ not documented):
+ Log::Dispatch->new( outputs => [ [ 'File', ... ],
+ [ 'Screen', ... ],
+ ]
+ );
+ Implemented by Jon Swartz.
+ - All of the mail sending modules now warn unconditionally if sending mail
+ fails. This removes the incorrect use of warnings::enabled() in some
+ modules. RT #43516.
+- 2.23 Sep 12, 2009
+ - New constructor API that simplifies creating your Log::Dispatch object.
+ Implemented by Jon Swartz.
+ - Made name parameter optional. We now auto-generate a unique name if one is
+ not given. Implemented by Jon Swartz.
+ - Added a newline parameter that causes a newline to be added to each message,
+ and updated the documentation regarding newlines. Implemented by Jon Swartz.
+ - Removed repetitive boilerplate documentation from each output
+ class. Implemented by Jon Swartz.
+ - The level_names and level_numbers used internally are now computed once and
+ shared between output objects. Implemented by Jon Swartz.
+ - Updated repo url - now at http://hg.urth.org/hg/Log-Dispatch
+ - Explicitly depend on Sys::Syslog 0.16.
+ - Added warn as a synonym for warning. RT #44821. Requested by Dylan Martin.
+ - Added an add_callback method to Log::Dispatch and
+ Log::Dispatch::Output. This lets you add a new formatting callback after an
+ object is created. Based on a patch from Ricardo Signes. RT #48283.
+ - The Log::Dispatch docs mistakenly told you to provide a log() method when
+ creating a new output class. RT #40561.
+ - Made all modules have the same version as Log::Dispatch itself.
+- 2.22 Nov 11, 2008
+ - Fixed a bug where Log::Dispatch::Email would die when it tried to
+ log under taint mode. Patch by Neil Hemingway. RT #40042.
+ - Fixed a misuse of warnings::enabled(). Reported by Darian
+ Patrick. RT #39784.
+ - Syslog logging now requires Sys::Syslog 0.16+.
+ - If you don't pass a socket argument to Log::Dispatch::Syslog, it
+ does not call Sys::Syslog::setlogsock(), which is the preferred
+ option for portability.
+ * If any of the syslog calls die, this is trapped and the error is
+ output as a warning if warnings are on. This is mostly a workaround
+ for Sys::Sylog not handling utf-8. RT #35270 & #37397.
+
+ This isn't backwards-compatible, but it's probably wrong for the
+ logging code to die because it can't log (even though some other
+ output modules still do).
+- cleanup spec
+ * define cpan_name
+ * sorted tags
+ * fix build-/deps
+ * update desc
+ * added Changes LICENSE SIGNATURE to doc
+ * moved changelog to .changes
+- added perl-macros
+ * perl_gen_filelist
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
Log-Dispatch-2.21.tar.bz2
New:
----
Log-Dispatch-2.26.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Log-Dispatch.spec ++++++
--- /var/tmp/diff_new_pack.KXt6Jz/_old 2010-01-11 17:04:15.000000000 +0100
+++ /var/tmp/diff_new_pack.KXt6Jz/_new 2010-01-11 17:04:15.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package perl-Log-Dispatch (Version 2.21)
+# spec file for package perl-Log-Dispatch (Version 2.26)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,20 +19,39 @@
Name: perl-Log-Dispatch
-Url: http://search.cpan.org/~drolsky/Log-Dispatch
-License: Artistic License; GPL v2 or later
-Group: Development/Libraries/Perl
-Requires: perl-Params-Validate perl = %{perl_version}
-AutoReqProv: on
-Summary: Module for Access to the System's Common Logging Mechanisms
-Version: 2.21
+%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
+Summary: Dispatches messages to one or more outputs
+Version: 2.26
Release: 1
-Source: Log-Dispatch-%{version}.tar.bz2
+License: Artistic ; GPLv2+
+Group: Development/Libraries/Perl
+Url: http://search.cpan.org/dist/Log-Dispatch
+Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: perl
+BuildRequires: perl-macros
+BuildRequires: perl(Test::More)
+BuildRequires: perl(File::Temp)
+#BuildRequires: perl(Sys::Syslog) >= 0.16
+BuildRequires: perl(Params::Validate) >= 0.15
+Requires: perl = %{perl_version}
+Requires: perl(Params::Validate) >= 0.15
+Provides: %{cpan_name}
%description
-With this module you can easily send log messages to Apache-Log, e-mail
-addresses, files, the screen, or syslog.
+Log::Dispatch is a suite of OO modules for logging messages to
+multiple outputs, each of which can have a minimum and maximum log
+level. It is designed to be easily subclassed, both for creating a
+new dispatcher object and particularly for creating new outputs.
+
+It also allows both global (dispatcher level) and local (logging
+object) message formatting callbacks which allows greater flexibility
+and should reduce the need for subclassing.
+
+Subclassing is only needed to send a message to a different output,
+not to change the message format.
+
+Please see the Log::Dispatch documentation for more details.
@@ -41,59 +60,25 @@
Dave Rolsky