Compare commits

...

No commits in common. "c8s" and "c10s" have entirely different histories.
c8s ... c10s

4 changed files with 110 additions and 15 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
SOURCES/Test-Warnings-0.026.tar.gz
/Test-Warnings-0.026.tar.gz
/Test-Warnings-[0-9.]*.tar.gz

View File

@ -0,0 +1,3 @@
# Reference to a similar module
addFilter("spelling-error \('NoWarnings',")
addFilter("spelling-error \('nowarnings',")

View File

@ -6,20 +6,19 @@
%endif
Name: perl-Test-Warnings
Version: 0.026
Release: 7%{?dist}
Version: 0.033
Release: 3%{?dist}
Summary: Test for warnings and the lack of them
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-Warnings
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Warnings-%{version}.tar.gz
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Test-Warnings
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Warnings-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
# Module
BuildRequires: perl(Carp)
@ -34,7 +33,6 @@ BuildRequires: perl(File::Spec)
BuildRequires: perl(if)
BuildRequires: perl(lib)
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(Test::Tester) >= 0.108
%if %{with perl_Test_Warnings_enables_optional_test}
# Optional Tests
BuildRequires: perl(CPAN::Meta) >= 2.120900
@ -44,9 +42,9 @@ BuildRequires: perl(CPAN::Meta::Check) >= 0.011
BuildRequires: perl(CPAN::Meta::Prereqs)
BuildRequires: perl(CPAN::Meta::Requirements)
BuildRequires: perl(PadWalker)
BuildRequires: perl(Test::Tester) >= 0.108
%endif
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Dependencies
Requires: perl(Carp)
%description
@ -80,8 +78,8 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
make test
@ -93,6 +91,101 @@ make test
%{_mandir}/man3/Test::Warnings.3*
%changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.033-3
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.033-2
- Bump release for June 2024 mass rebuild
* Tue Jan 23 2024 Paul Howarth <paul@city-fan.org> - 0.033-1
- Update to 0.033
- 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 Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.032-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Oct 1 2023 Paul Howarth <paul@city-fan.org> - 0.032-1
- Update to 0.032
- New config variable, $ENV{PERL_TEST_WARNINGS_ONLY_REPORT_WARNINGS}, for
temporarily turning failures into reports
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.031-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.031-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.031-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.031-4
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.031-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.031-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 14 2021 Paul Howarth <paul@city-fan.org> - 0.031-1
- Update to 0.031
- Remove unneeded developer prereqs that caused metacpan to unduly raise the
river position of some dependent modules
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.030-5
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.030-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.030-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.030-2
- Perl 5.32 rebuild
* Sun Mar 22 2020 Paul Howarth <paul@city-fan.org> - 0.030-1
- Update to 0.030
- Fix tests that can fail when there is already an installed module named
Foo::Bar::Baz (CPAN RT#132140)
* Sat Mar 14 2020 Paul Howarth <paul@city-fan.org> - 0.029-1
- Update to 0.029
- New :report_warnings feature, for printing all of the (unexpected) warning
content when had_no_warnings() is called (GH#10)
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.028-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Dec 22 2019 Paul Howarth <paul@city-fan.org> - 0.028-1
- Update to 0.028
- Allow for warnings->import being called after importing the "warnings" sub
* Sat Sep 28 2019 Paul Howarth <paul@city-fan.org> - 0.027-1
- Update to 0.027
- New :fail_on_warning feature, for more easily seeing where the surprising
warning appeared during testing
- Use author-independent source URL
- Simplify find command using -delete
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.026-11
- Perl 5.30 rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.026-8
- Perl 5.28 rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (Test-Warnings-0.026.tar.gz) = 510e182299173fa01482cde642fe5d84a77ea2f3b1761c7d8bf855caed963f276134357b4d7662bb3fbf09621ac6e11451fe19bf0ba2cf96bc841c280a624cd4
SHA512 (Test-Warnings-0.033.tar.gz) = dc49e345b2b5d2dd42d83b4351025f2c0db0216ef8388b02db77d5078e5eda0b5aab1491b07a0009923acc73b30c4ef6d77d406e85b0f958f575007c6ca1e6e8