From 55397831077fcd03804a184215ea59b84df47efac17583b052c84b68cf2d6788 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 9 Jun 2015 07:48:26 +0000 Subject: [PATCH] Accepting request 310939 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/310939 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Exception?expand=0&rev=38 --- Test-Exception-0.38.tar.gz | 3 --- Test-Exception-0.40.tar.gz | 3 +++ cpanspec.yml | 23 +++++++++++++++++++++++ perl-Test-Exception.changes | 12 ++++++++++++ perl-Test-Exception.spec | 16 +++++++++++----- 5 files changed, 49 insertions(+), 8 deletions(-) delete mode 100644 Test-Exception-0.38.tar.gz create mode 100644 Test-Exception-0.40.tar.gz create mode 100644 cpanspec.yml diff --git a/Test-Exception-0.38.tar.gz b/Test-Exception-0.38.tar.gz deleted file mode 100644 index d4d07f8..0000000 --- a/Test-Exception-0.38.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7c6aa4c208c043c38631e2af8d28abf76d32a3dcd2ff4a94591f009a6ed3eab5 -size 15349 diff --git a/Test-Exception-0.40.tar.gz b/Test-Exception-0.40.tar.gz new file mode 100644 index 0000000..7484326 --- /dev/null +++ b/Test-Exception-0.40.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d92ccb566d93140abc93b07ec4c13e9b14c8f8f7d7858a2ab575d83b3bb51b26 +size 14801 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,23 @@ +--- +#description_paragraphs: 3 +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Test-Exception.changes b/perl-Test-Exception.changes index c0fedbb..0ab007e 100644 --- a/perl-Test-Exception.changes +++ b/perl-Test-Exception.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Jun 7 09:05:54 UTC 2015 - coolo@suse.com + +- updated to 0.40 + see /usr/share/doc/packages/perl-Test-Exception/Changes + + 0.40 [2015-06-05] + - Updated for changes in Test::Stream (Use Test::Stream::Sync) + + 0.39 [2015-06-04] + - Updated for changes in Test::Stream + ------------------------------------------------------------------- Thu Apr 23 05:55:21 UTC 2015 - coolo@suse.com diff --git a/perl-Test-Exception.spec b/perl-Test-Exception.spec index d45fc04..d6fcbdf 100644 --- a/perl-Test-Exception.spec +++ b/perl-Test-Exception.spec @@ -17,16 +17,17 @@ Name: perl-Test-Exception -Version: 0.380000 +Version: 0.400000 Release: 0 -%define cpan_version 0.38 -Provides: perl(Test::Exception) = 0.380000 +%define cpan_version 0.40 +Provides: perl(Test::Exception) = 0.400000 %define cpan_name Test-Exception -Summary: Test exception based code +Summary: Test exception-based code License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Test-Exception/ -Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz +Source0: http://www.cpan.org/authors/id/E/EX/EXODIST/%{cpan_name}-%{cpan_version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -56,6 +57,11 @@ methods of stopping program execution - including exit(). If you have an exit() in evalled code Test::Exception will not catch this with any of its testing functions. +NOTE: This module uses the Sub::Uplevel manpage and relies on overriding +'CORE::GLOBAL::caller' to hide your test blocks from the call stack. If +this use of global overrides concerns you, the the Test::Fatal manpage +module offers a more minimalist alternative. + * *throws_ok* Tests to see that a specific exception is thrown. throws_ok() has two