|
|
@ -6,19 +6,20 @@
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Test-Warnings
|
|
|
|
Name: perl-Test-Warnings
|
|
|
|
Version: 0.030
|
|
|
|
Version: 0.026
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Summary: Test for warnings and the lack of them
|
|
|
|
Summary: Test for warnings and the lack of them
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: https://metacpan.org/release/Test-Warnings
|
|
|
|
Group: Development/Libraries
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Warnings-%{version}.tar.gz
|
|
|
|
URL: http://search.cpan.org/dist/Test-Warnings
|
|
|
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Warnings-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
# Build
|
|
|
|
# Build
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
# Module
|
|
|
|
# Module
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
@ -33,6 +34,7 @@ BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(if)
|
|
|
|
BuildRequires: perl(if)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.94
|
|
|
|
BuildRequires: perl(Test::More) >= 0.94
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::Tester) >= 0.108
|
|
|
|
%if %{with perl_Test_Warnings_enables_optional_test}
|
|
|
|
%if %{with perl_Test_Warnings_enables_optional_test}
|
|
|
|
# Optional Tests
|
|
|
|
# Optional Tests
|
|
|
|
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
|
|
|
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
|
|
@ -42,7 +44,6 @@ BuildRequires: perl(CPAN::Meta::Check) >= 0.011
|
|
|
|
BuildRequires: perl(CPAN::Meta::Prereqs)
|
|
|
|
BuildRequires: perl(CPAN::Meta::Prereqs)
|
|
|
|
BuildRequires: perl(CPAN::Meta::Requirements)
|
|
|
|
BuildRequires: perl(CPAN::Meta::Requirements)
|
|
|
|
BuildRequires: perl(PadWalker)
|
|
|
|
BuildRequires: perl(PadWalker)
|
|
|
|
BuildRequires: perl(Test::Tester) >= 0.108
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# Runtime
|
|
|
|
# Runtime
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
@ -79,8 +80,8 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
@ -92,60 +93,8 @@ make test
|
|
|
|
%{_mandir}/man3/Test::Warnings.3*
|
|
|
|
%{_mandir}/man3/Test::Warnings.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.030-6
|
|
|
|
* Thu Apr 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.026-7
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for MSVSphere 8.9
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.030-5
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.026-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|