Sync from SUSE:SLFO:Main perl-Test-Warnings revision e5781d8a0802b6b1b75360ebe2d5f268

This commit is contained in:
Adrian Schröter 2025-02-26 14:01:54 +01:00
parent 2b21ce1980
commit 2d331862d9
4 changed files with 70 additions and 8 deletions

BIN
Test-Warnings-0.031.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
Test-Warnings-0.038.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,60 @@
-------------------------------------------------------------------
Sun Feb 2 05:29:57 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.38.0 (0.038)
see /usr/share/doc/packages/perl-Test-Warnings/Changes
0.038 2025-02-02 00:27:04Z
- no longer swap out done_testing method if :no_end_test is
configured
-------------------------------------------------------------------
Mon Jan 6 05:34:57 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.37.0 (0.037)
see /usr/share/doc/packages/perl-Test-Warnings/Changes
0.037 2025-01-05 20:38:16Z
- remove unneeded use of Import::Into
- fix tests that invoke Test::Warnings->import directly
0.036 2025-01-03 18:30:28Z
- avoid redefinition warnings when $^W is enabled in tests
(RT#158297)
0.035 2025-01-03 17:47:24Z
- allow tests to pass even when Import::Into is not installed
(RT#158296)
- add backcompat shim for cases where Test::More is loaded in tests
after Test::Warnings
0.034 2025-01-03 02:46:29Z
- fix Test2 compability for done_testing()
- Test2::Warnings added as a simple wrapper (for now)
-------------------------------------------------------------------
Fri Mar 8 23:06:05 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- Fix disabling of __perllib_provides
-------------------------------------------------------------------
Wed Jan 24 03:10:02 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.033
see /usr/share/doc/packages/perl-Test-Warnings/Changes
0.033 2024-01-23 03:31:29Z
- add Test2 compatibility in the test triggered by done_testing();
- new long-awaited feature (!!!) "allow_patterns", to either
temporarily or globally exempt particular warning patterns
-------------------------------------------------------------------
Sun Oct 1 03:06:35 UTC 2023 - Tina Müller <timueller+perl@suse.de>
- updated to 0.032
see /usr/share/doc/packages/perl-Test-Warnings/Changes
0.032 2023-09-30 23:36:50Z
- new config variable, $ENV{PERL_TEST_WARNINGS_ONLY_REPORT_WARNINGS},
for temporarily turning failures into reports
-------------------------------------------------------------------
Wed Jul 14 03:06:57 UTC 2021 - Tina Müller <timueller+perl@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Test-Warnings
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,12 +18,14 @@
%define cpan_name Test-Warnings
Name: perl-Test-Warnings
Version: 0.031
Version: 0.38.0
Release: 0
Summary: Test for warnings and the lack of them
# 0.038 -> normalize -> 0.38.0
%define cpan_version 0.038
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Test for warnings and the lack of them
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
@ -31,6 +33,9 @@ BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(parent)
Requires: perl(parent)
Provides: perl(Test2::Warnings) = %{version}
Provides: perl(Test::Warnings) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@ -60,7 +65,7 @@ It can also be used as a replacement for Test::Warn, if you wish to test
the content of expected warnings; read on to find out how.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor