Accepting request 1174479 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1174479 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test2-Plugin-NoWarnings?expand=0&rev=6
This commit is contained in:
commit
93daad08db
BIN
Test2-Plugin-NoWarnings-0.09.tar.gz
(Stored with Git LFS)
BIN
Test2-Plugin-NoWarnings-0.09.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
Test2-Plugin-NoWarnings-0.10.tar.gz
Normal file
3
Test2-Plugin-NoWarnings-0.10.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c97cb1122cc6e3e4a079059da71e12f65760bfb0671d19d25a7ec7c5f1f240fb
|
||||
size 27614
|
@ -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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
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
|
||||
Group: Development/Libraries/Perl
|
||||
Summary: Fail if tests warn
|
||||
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
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(IPC::Run3)
|
||||
BuildRequires: perl(Module::Pluggable)
|
||||
BuildRequires: perl(Test2) >= 1.302167
|
||||
BuildRequires: perl(Test2::API)
|
||||
BuildRequires: perl(Test2::Event)
|
||||
@ -44,6 +45,9 @@ Requires: perl(Test2::API)
|
||||
Requires: perl(Test2::Event)
|
||||
Requires: perl(Test2::Util::HashBase)
|
||||
Requires: perl(parent)
|
||||
Provides: perl(Test2::Event::Warning) = %{version}
|
||||
Provides: perl(Test2::Plugin::NoWarnings) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%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.
|
||||
|
||||
%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
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -70,8 +76,7 @@ make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc azure-pipelines.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
|
||||
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user