From fa6ad2169b6480a5519e7ce4660e6bcc3e95cd7d Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Apr 22 2019 15:23:02 +0000 Subject: Update to 0.07 - New upstream release 0.07 - Reverted back to using the Warning event type, since the bug in the Test2 core that caused this to be a problem has since been fixed - Replaced use of Test2::Bundle::Extended with Test2::V0 - Package new document CODE_OF_CONDUCT.md - Modernize spec using %{make_build} and %{make_install} --- diff --git a/perl-Test2-Plugin-NoWarnings.rpmlintrc b/perl-Test2-Plugin-NoWarnings.rpmlintrc new file mode 100644 index 0000000..15c4609 --- /dev/null +++ b/perl-Test2-Plugin-NoWarnings.rpmlintrc @@ -0,0 +1,3 @@ +from Config import * + +addFilter("spelling-error %description -l en_US diag -> ") diff --git a/perl-Test2-Plugin-NoWarnings.spec b/perl-Test2-Plugin-NoWarnings.spec index 1321514..a44860f 100644 --- a/perl-Test2-Plugin-NoWarnings.spec +++ b/perl-Test2-Plugin-NoWarnings.spec @@ -1,6 +1,6 @@ Name: perl-Test2-Plugin-NoWarnings -Version: 0.06 -Release: 6%{?dist} +Version: 0.07 +Release: 1%{?dist} Summary: Fail if tests warn License: Artistic 2.0 URL: https://metacpan.org/release/Test2-Plugin-NoWarnings @@ -9,22 +9,24 @@ BuildArch: noarch # Build BuildRequires: coreutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) > 6.75 # Module Runtime BuildRequires: perl(Carp) BuildRequires: perl(parent) BuildRequires: perl(strict) +BuildRequires: perl(Test2) >= 1.302096 BuildRequires: perl(Test2::API) BuildRequires: perl(Test2::Event) BuildRequires: perl(Test2::Util::HashBase) BuildRequires: perl(warnings) # Test Suite +BuildRequires: perl(Capture::Tiny) BuildRequires: perl(File::Spec) BuildRequires: perl(IPC::Run3) -BuildRequires: perl(Test2::Bundle::Extended) BuildRequires: perl(Test2::Require::Module) +BuildRequires: perl(Test2::V0) BuildRequires: perl(Test::More) >= 0.96 # Optional Tests BuildRequires: perl(CPAN::Meta) >= 2.120900 @@ -45,10 +47,10 @@ this module will stop working. %build perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1 -make %{?_smp_mflags} +%{make_build} %install -make install DESTDIR=%{buildroot} +%{make_install} %{_fixperms} -c %{buildroot} %check @@ -56,12 +58,20 @@ make test %files %license LICENSE -%doc Changes README.md +%doc Changes CODE_OF_CONDUCT.md README.md %{perl_vendorlib}/Test2/ %{_mandir}/man3/Test2::Event::Warning.3* %{_mandir}/man3/Test2::Plugin::NoWarnings.3* %changelog +* Mon Apr 22 2019 Paul Howarth - 0.07-1 +- Update to 0.07 + - Reverted back to using the Warning event type, since the bug in the Test2 + core that caused this to be a problem has since been fixed + - Replaced use of Test2::Bundle::Extended with Test2::V0 +- Package new document CODE_OF_CONDUCT.md +- Modernize spec using %%{make_build} and %%{make_install} + * Sat Feb 02 2019 Fedora Release Engineering - 0.06-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 863c17f..b791cb9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Test2-Plugin-NoWarnings-0.06.tar.gz) = aed9a3769085028adffd0aa7cbbe2d7d8b89b5f4768e47ae4155dcc1f4aa8fd47319ae7c87ddbc1ed08ca99e1d703eebb74977e88696ea4dcc1104a53332ade2 +SHA512 (Test2-Plugin-NoWarnings-0.07.tar.gz) = fe9f9c9ca7372177655979a222688753b8c3b0affdcf19866ebe758b19e0c6082128687051588869a0fd41170d244ee0876d64306604a9a19bcd92d1ef3db748