Hello community,
here is the log from the commit of package perl-Test-Warnings for
openSUSE:Factory checked in at 2016-01-04 09:19:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Warnings (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Warnings.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Warnings"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Warnings/perl-Test-Warnings.changes
2015-04-25 21:15:49.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Test-Warnings.new/perl-Test-Warnings.changes
2016-01-04 09:20:20.000000000 +0100
@@ -1,0 +2,19 @@
+Sat Dec 26 10:18:59 UTC 2015 - [email protected]
+
+- updated to 0.024
+ see /usr/share/doc/packages/perl-Test-Warnings/Changes
+
+ 0.024 2015-12-24 18:44:29Z
+ - remove diagnostics accidentally left in new test
+
+ 0.023 2015-12-22 06:44:24Z
+ - properly handle propagating warnings to previously declared
+ handlers that are not coderefs (i.e. a sub name, or the magic
+ DEFAULT and IGNORE)
+
+ 0.022 2015-12-19 00:32:42Z
+ - propagate all warnings to any previously-declared __WARN__
+ handlers (unlike with __DIE__, merely calling warn() is not
+ sufficient)
+
+-------------------------------------------------------------------
Old:
----
Test-Warnings-0.021.tar.gz
New:
----
Test-Warnings-0.024.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Warnings.spec ++++++
--- /var/tmp/diff_new_pack.70riwg/_old 2016-01-04 09:20:21.000000000 +0100
+++ /var/tmp/diff_new_pack.70riwg/_new 2016-01-04 09:20:21.000000000 +0100
@@ -17,7 +17,7 @@
Name: perl-Test-Warnings
-Version: 0.021
+Version: 0.024
Release: 0
%define cpan_name Test-Warnings
Summary: Test for warnings and the lack of them
@@ -25,11 +25,12 @@
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Warnings/
Source0:
http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(CPAN::Meta::Check) >= 0.007
+BuildRequires: perl(CPAN::Meta::Check) >= 0.011
BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(parent)
@@ -37,19 +38,19 @@
%{perl_requires}
%description
-If you've ever tried to use the Test::NoWarnings manpage to confirm there
-are no warnings generated by your tests, combined with the convenience of
-'done_testing' to not have to declare a Test::More/I love
-it-when-a-plan-comes-together, you'll have discovered that these two
-features do not play well together, as the test count will be calculated
-_before_ the warnings test is run, resulting in a TAP error. (See
-'examples/test_nowarnings.pl' in this distribution for a demonstration.)
-
-This module is intended to be used as a drop-in replacement for the
-Test::NoWarnings manpage: it also adds an extra test, but runs this test
-_before_ 'done_testing' calculates the test count, rather than after. It
-does this by hooking into 'done_testing' as well as via an 'END' block. You
-can declare a plan, or not, and things will still Just Work.
+If you've ever tried to use Test::NoWarnings to confirm there are no
+warnings generated by your tests, combined with the convenience of
+'done_testing' to not have to declare a test count, you'll have discovered
+that these two features do not play well together, as the test count will
+be calculated _before_ the warnings test is run, resulting in a TAP error.
+(See 'examples/test_nowarnings.pl' in this distribution for a
+demonstration.)
+
+This module is intended to be used as a drop-in replacement for
+Test::NoWarnings: it also adds an extra test, but runs this test _before_
+'done_testing' calculates the test count, rather than after. It does this
+by hooking into 'done_testing' as well as via an 'END' block. You can
+declare a plan, or not, and things will still Just Work.
It is actually equivalent to:
@@ -59,8 +60,8 @@
enthusiastically encouraged, to perform a global search-replace of the
above with 'use Test::Warnings;' whether or not your tests have a plan.
-It can also be used as a replacement for the Test::Warn manpage, if you
-wish to test the content of expected warnings; read on to find out how.
+It can also be used as a replacement for Test::Warn, if you wish to test
+the content of expected warnings; read on to find out how.
%prep
%setup -q -n %{cpan_name}-%{version}
@@ -79,6 +80,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes CONTRIBUTING examples LICENSE README
+%doc Changes CONTRIBUTING examples LICENCE README
%changelog
++++++ Test-Warnings-0.021.tar.gz -> Test-Warnings-0.024.tar.gz ++++++
++++ 3995 lines of diff (skipped)
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#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_build: |-
# rm unused.files
#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