Hello community,
here is the log from the commit of package perl-Try-Tiny for openSUSE:Factory
checked in at Wed Dec 1 17:47:51 CET 2010.
--------
New Changes file:
--- /dev/null 2010-07-09 01:59:37.000000000 +0200
+++ perl-Try-Tiny/perl-Try-Tiny.changes 2010-11-11 19:06:06.000000000 +0100
@@ -0,0 +1,33 @@
+-------------------------------------------------------------------
+Thu Nov 11 18:04:16 UTC 2010 - chris@computersalat.de
+
+- recreated by cpanspec 1.78
+ o fixed deps
+ o fix License
+- noarch pkg
+
+-------------------------------------------------------------------
+Mon Nov 1 11:28:49 UTC 2010 - pascal.bleser@opensuse.org
+
+- update to 0.07:
+ * allow multiple finally blocks
+ * pass the error, if any, to finally blocks when called
+
+- changes from 0.05:
+ * documentation fixes and clarifications
+
+-------------------------------------------------------------------
+Mon Jan 25 08:18:26 UTC 2010 - lars@linux-schulserver.de
+
+- update to 0.04:
+ + Restore list context propagation for catch blocks
+ + Fix a bug where finally blocks weren't always invoked
+ + More documentation and tests (many people)
+ + Sets $@ to the previous value at the beginning of the eval, to
+ allow the capture of an error stack when calling die.
+
+-------------------------------------------------------------------
+Sat Dec 26 21:40:19 UTC 2009 - lars@linux-schulserver.de
+
+- initial version 0.02
+
calling whatdependson for head-i586
New:
----
Try-Tiny-0.07.tar.bz2
perl-Try-Tiny.changes
perl-Try-Tiny.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Try-Tiny.spec ++++++
#
# spec file for package perl-Try-Tiny (Version 0.07)
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Try-Tiny
%define cpan_name Try-Tiny
Summary: Minimal try/catch with proper localization of $@
Version: 0.07
Release: 1
License: MIT
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Try-Tiny/
#Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Try-Tiny-0.07.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Test::More)
Requires: perl = %{perl_version}
%description
This module provides bare bones try/catch statements that are designed to
minimize common mistakes with eval blocks, and NOTHING else.
This is unlike TryCatch which provides a nice syntax and avoids adding another
call stack layer, and supports calling return from the try block to return from
the parent subroutine. These extra features come at a cost of a few
dependencies, namely Devel::Declare and Scope::Upper which are occasionally
problematic, and the additional catch filtering uses Moose type constraints
which may not be desirable either.
The main focus of this module is to provide simple and reliable error handling
for those having a hard time installing TryCatch, but who still want to write
correct eval blocks without 5 lines of boilerplate each time.
It's designed to work as correctly as possible in light of the various
pathological edge cases (see BACKGROUND) and to be compatible with any style of
error values (simple strings, references, objects, overloaded objects, etc).
Authors:
--------
Yuval Kogman