Notification time stamped 2019-10-11 18:09:59 UTC
From de8e111344105006d0653f93a6884d5a8f8da332 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul(a)city-fan.org>
Date: Sep 19 2016 13:16:18 +0000
Subject: Initial import (perl-Test2-Plugin-NoWarnings-0.02-3)
Loading this plugin causes your tests to fail if there are any warnings while
they run. Each warning generates a new failing test and the warning content is
outputted via diag.
This module uses $SIG{__WARN__}, so if the code you're testing sets this, then
this module will stop working.
---
diff --git a/.gitignore b/.gitignore
index e69de29..1650141 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Test2-Plugin-NoWarnings-[0-9.]*.tar.gz
diff --git a/perl-Test2-Plugin-NoWarnings.spec b/perl-Test2-Plugin-NoWarnings.spec
new file mode 100644
index 0000000..bbdb88a
--- /dev/null
+++ b/perl-Test2-Plugin-NoWarnings.spec
@@ -0,0 +1,70 @@
+Name: perl-Test2-Plugin-NoWarnings
+Version: 0.02
+Release: 3%{?dist}
+Summary: Fail if tests warn
+License: Artistic 2.0
+URL:
http://search.cpan.org/dist/Test2-Plugin-NoWarnings/
+Source0:
http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Test2-Plugin-NoWarnin...
+BuildArch: noarch
+# Build
+BuildRequires: coreutils
+BuildRequires: make
+BuildRequires: perl
+BuildRequires: perl-generators
+BuildRequires: perl(ExtUtils::MakeMaker) > 6.75
+# Module Runtime
+BuildRequires: perl(Carp)
+BuildRequires: perl(parent)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test2::API)
+BuildRequires: perl(Test2::Event)
+BuildRequires: perl(Test2::Util::HashBase)
+BuildRequires: perl(warnings)
+# Test Suite
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(Test2::Bundle::Extended)
+BuildRequires: perl(Test::More) >= 0.96
+# Optional Tests
+BuildRequires: perl(CPAN::Meta) >= 2.120900
+BuildRequires: perl(CPAN::Meta::Prereqs)
+# Dependencies
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+Loading this plugin causes your tests to fail if there are any warnings while
+they run. Each warning generates a new failing test and the warning content is
+outputted via diag.
+
+This module uses $SIG{__WARN__}, so if the code you're testing sets this, then
+this module will stop working.
+
+%prep
+%setup -q -n Test2-Plugin-NoWarnings-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}
+
+%check
+make test
+
+%files
+%license LICENSE
+%doc Changes README.md
+%{perl_vendorlib}/Test2/
+%{_mandir}/man3/Test2::Event::Warning.3*
+%{_mandir}/man3/Test2::Plugin::NoWarnings.3*
+
+%changelog
+* Mon Sep 19 2016 Paul Howarth <paul(a)city-fan.org> - 0.02-3
+- Drop unused BR: findutils (#1377228)
+
+* Mon Sep 19 2016 Paul Howarth <paul(a)city-fan.org> - 0.02-2
+- Sanitize for Fedora submission
+
+* Sun Sep 18 2016 Paul Howarth <paul(a)city-fan.org> - 0.02-1
+- Initial RPM version
diff --git a/sources b/sources
index e69de29..0f84cad 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+61d01547afd86bf8e6ba6140ed340cd8 Test2-Plugin-NoWarnings-0.02.tar.gz
https://src.fedoraproject.org/rpms/perl-Test2-Plugin-NoWarnings/c/de8e111...