From 6ceee59fb92b2634b5e9a072f86956ca43f61c3b Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Oct 18 2016 12:48:06 +0000 Subject: Update to 0.03 - New upstream release 0.03 - Add the $SIG{__WARN__} hook in an INIT block; we really don't want to trigger this because of a compile-time warning, and because of a bug in Test::Builder, this can actually cause the warning to be lost entirely (https://github.com/Test-More/test-more/issues/729) - The Test2::Event::Warning event now returns true for increments_count, which means that the test failure caused by a warning will not be output as a TAP test line; previously this was just seen as a diag line, which could be quite confusing (https://github.com/Test-More/test-more/issues/728) --- diff --git a/perl-Test2-Plugin-NoWarnings.spec b/perl-Test2-Plugin-NoWarnings.spec index bbdb88a..2ebefcb 100644 --- a/perl-Test2-Plugin-NoWarnings.spec +++ b/perl-Test2-Plugin-NoWarnings.spec @@ -1,6 +1,6 @@ Name: perl-Test2-Plugin-NoWarnings -Version: 0.02 -Release: 3%{?dist} +Version: 0.03 +Release: 1%{?dist} Summary: Fail if tests warn License: Artistic 2.0 URL: http://search.cpan.org/dist/Test2-Plugin-NoWarnings/ @@ -22,7 +22,9 @@ BuildRequires: perl(Test2::Util::HashBase) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(File::Spec) +BuildRequires: perl(IPC::Run3) BuildRequires: perl(Test2::Bundle::Extended) +BuildRequires: perl(Test2::Require::Module) BuildRequires: perl(Test::More) >= 0.96 # Optional Tests BuildRequires: perl(CPAN::Meta) >= 2.120900 @@ -47,7 +49,7 @@ make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} -%{_fixperms} %{buildroot} +%{_fixperms} -c %{buildroot} %check make test @@ -60,6 +62,18 @@ make test %{_mandir}/man3/Test2::Plugin::NoWarnings.3* %changelog +* Tue Oct 18 2016 Paul Howarth - 0.03-1 +- Update to 0.03 + - Add the $SIG{__WARN__} hook in an INIT block; we really don't want to + trigger this because of a compile-time warning, and because of a bug in + Test::Builder, this can actually cause the warning to be lost entirely + (https://github.com/Test-More/test-more/issues/729) + - The Test2::Event::Warning event now returns true for increments_count, + which means that the test failure caused by a warning will not be output + as a TAP test line; previously this was just seen as a diag line, which + could be quite confusing + (https://github.com/Test-More/test-more/issues/728) + * Mon Sep 19 2016 Paul Howarth - 0.02-3 - Drop unused BR: findutils (#1377228) diff --git a/sources b/sources index 0f84cad..d536ba9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -61d01547afd86bf8e6ba6140ed340cd8 Test2-Plugin-NoWarnings-0.02.tar.gz +e3f286c4cb9806a6eb083de902a1998b Test2-Plugin-NoWarnings-0.03.tar.gz