Ana Guerrero 2024-05-16 15:13:47 +00:00 committed by Git OBS Bridge
commit 93daad08db
4 changed files with 33 additions and 15 deletions

BIN
Test2-Plugin-NoWarnings-0.09.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c97cb1122cc6e3e4a079059da71e12f65760bfb0671d19d25a7ec7c5f1f240fb
size 27614

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Apr 8 03:07:54 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.10
see /usr/share/doc/packages/perl-Test2-Plugin-NoWarnings/Changes
0.10 2024-04-07
- Previous, when tests were run via prove without the verbose flag and there
was a warning that caused a test failure, there was no output indicating
that a warning caused the failure. This has now been corrected and you'll
see output that includes "Unexpected warning". Reported by @janlimpens.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 1 03:14:43 UTC 2020 - Tina Müller <timueller+perl@suse.de> Wed Jul 1 03:14:43 UTC 2020 - Tina Müller <timueller+perl@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Test2-Plugin-NoWarnings # spec file for package perl-Test2-Plugin-NoWarnings
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,21 +16,22 @@
# #
Name: perl-Test2-Plugin-NoWarnings
Version: 0.09
Release: 0
%define cpan_name Test2-Plugin-NoWarnings %define cpan_name Test2-Plugin-NoWarnings
Summary: Fail if tests warn Name: perl-Test2-Plugin-NoWarnings
Version: 0.100.0
Release: 0
# 0.10 -> normalize -> 0.100.0
%define cpan_version 0.10
License: Artistic-2.0 License: Artistic-2.0
Group: Development/Libraries/Perl Summary: Fail if tests warn
URL: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(IPC::Run3) BuildRequires: perl(IPC::Run3)
BuildRequires: perl(Module::Pluggable)
BuildRequires: perl(Test2) >= 1.302167 BuildRequires: perl(Test2) >= 1.302167
BuildRequires: perl(Test2::API) BuildRequires: perl(Test2::API)
BuildRequires: perl(Test2::Event) BuildRequires: perl(Test2::Event)
@ -44,6 +45,9 @@ Requires: perl(Test2::API)
Requires: perl(Test2::Event) Requires: perl(Test2::Event)
Requires: perl(Test2::Util::HashBase) Requires: perl(Test2::Util::HashBase)
Requires: perl(parent) Requires: perl(parent)
Provides: perl(Test2::Event::Warning) = %{version}
Provides: perl(Test2::Plugin::NoWarnings) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@ -55,11 +59,13 @@ This module uses '$SIG{__WARN__}', so if the code you're testing sets this,
then this module will stop working. then this module will stop working.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} %make_build
%check %check
make test make test
@ -70,8 +76,7 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
%doc azure-pipelines.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
%license LICENSE %license LICENSE
%changelog %changelog