Hello community, here is the log from the commit of package perl-Try-Tiny for openSUSE:Factory checked in at Wed May 18 11:50:14 CEST 2011.
-------- --- perl-Try-Tiny/perl-Try-Tiny.changes 2010-11-30 20:29:27.000000000 +0100 +++ /mounts/work_src_done/STABLE/perl-Try-Tiny/perl-Try-Tiny.changes 2011-05-17 14:14:42.000000000 +0200 @@ -1,0 +2,7 @@ +Tue May 17 12:12:23 UTC 2011 - [email protected] + +- updated to 0.09 + - don't index Try::Tiny::ScopeGuard + - fix require vs use issue in blead (RT63410) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- Try-Tiny-0.07.tar.bz2 New: ---- Try-Tiny-0.09.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Try-Tiny.spec ++++++ --- /var/tmp/diff_new_pack.qPJ7H2/_old 2011-05-18 11:49:39.000000000 +0200 +++ /var/tmp/diff_new_pack.qPJ7H2/_new 2011-05-18 11:49:39.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package perl-Try-Tiny (Version 0.07) +# spec file for package perl-Try-Tiny # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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 @@ -15,48 +15,39 @@ # 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: 2 +Version: 0.09 +Release: 1 License: MIT -Group: Development/Libraries/Perl +%define cpan_name Try-Tiny +Summary: minimal try/catch with proper localization of $@ 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 +Group: Development/Libraries/Perl +Source: http://www.cpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Test::More) +%{perl_requires} %description -This module provides bare bones try/catch statements that are designed to -minimize common mistakes with eval blocks, and NOTHING else. +This module provides bare bones 'try'/'catch'/'finally' 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 <[email protected]> +This is unlike the TryCatch manpage 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 the Devel::Declare manpage and the +Scope::Upper manpage which are occasionally problematic, and the additional +catch filtering uses the Moose manpage 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 the TryCatch manpage, but +who still want to write correct 'eval' blocks without 5 lines of +boilerplate each time. %prep %setup -q -n %{cpan_name}-%{version} @@ -70,18 +61,14 @@ %install %perl_make_install -# do not perl_process_packlist (noarch) -# remove .packlist file -%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch -# remove perllocal.pod file -%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib +%perl_process_packlist %perl_gen_filelist %clean -%{__rm} -rf $RPM_BUILD_ROOT +%{__rm} -rf %{buildroot} %files -f %{name}.files -%defattr(-,root,root,-) +%defattr(-,root,root,755) %doc Changes %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
