|
|
7ab4a7 |
# Enable dumping a stack trace
|
|
|
7ab4a7 |
%bcond_without perl_Test_NoWarnings_enables_stack_trace
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
Name: perl-Test-NoWarnings
|
|
|
7ab4a7 |
Version: 1.04
|
|
|
7ab4a7 |
Release: 16%{?dist}
|
|
|
7ab4a7 |
Summary: Make sure you didn't emit any warnings while testing
|
|
|
7ab4a7 |
License: LGPLv2+
|
|
|
7ab4a7 |
URL: http://search.cpan.org/dist/Test-NoWarnings/
|
|
|
7ab4a7 |
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-NoWarnings-%{version}.tar.gz
|
|
|
7ab4a7 |
BuildArch: noarch
|
|
|
7ab4a7 |
BuildRequires: make
|
|
|
7ab4a7 |
BuildRequires: perl-generators
|
|
|
7ab4a7 |
BuildRequires: perl-interpreter
|
|
|
7ab4a7 |
BuildRequires: perl(:VERSION) >= 5.6
|
|
|
7ab4a7 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
7ab4a7 |
BuildRequires: perl(strict)
|
|
|
7ab4a7 |
# Run-time:
|
|
|
7ab4a7 |
BuildRequires: perl(Carp)
|
|
|
7ab4a7 |
BuildRequires: perl(Exporter)
|
|
|
7ab4a7 |
BuildRequires: perl(Test::Builder) >= 0.86
|
|
|
7ab4a7 |
BuildRequires: perl(warnings)
|
|
|
7ab4a7 |
BuildRequires: perl(vars)
|
|
|
7ab4a7 |
%if %{with perl_Test_NoWarnings_enables_stack_trace}
|
|
|
7ab4a7 |
# Optional run-time:
|
|
|
7ab4a7 |
BuildRequires: perl(Devel::StackTrace)
|
|
|
7ab4a7 |
%endif
|
|
|
7ab4a7 |
# Tests:
|
|
|
7ab4a7 |
BuildRequires: perl(Test::More) >= 0.47
|
|
|
7ab4a7 |
BuildRequires: perl(Test::Tester) >= 0.107
|
|
|
7ab4a7 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
7ab4a7 |
%if %{with perl_Test_NoWarnings_enables_stack_trace}
|
|
|
7ab4a7 |
Suggests: perl(Devel::StackTrace)
|
|
|
7ab4a7 |
%endif
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
%description
|
|
|
7ab4a7 |
In general, your tests shouldn't produce warnings. This module causes any
|
|
|
7ab4a7 |
warnings to be captured and stored. It automatically adds an extra test
|
|
|
7ab4a7 |
that will run when your script ends to check that there were no warnings.
|
|
|
7ab4a7 |
If there were any warnings, the test will give a "not ok" and diagnostics of
|
|
|
7ab4a7 |
where, when and what the warning was, including a stack trace of what was
|
|
|
7ab4a7 |
going on when the it occurred.
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
%prep
|
|
|
7ab4a7 |
%setup -q -n Test-NoWarnings-%{version}
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
%build
|
|
|
7ab4a7 |
perl Makefile.PL NO_PACKLIST=1 INSTALLDIRS=vendor
|
|
|
7ab4a7 |
make %{?_smp_mflags}
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
%install
|
|
|
7ab4a7 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
7ab4a7 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
%check
|
|
|
7ab4a7 |
make test
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
%files
|
|
|
7ab4a7 |
%license LICENSE
|
|
|
7ab4a7 |
%doc Changes README
|
|
|
7ab4a7 |
%{perl_vendorlib}/*
|
|
|
7ab4a7 |
%{_mandir}/man3/*
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
%changelog
|
|
|
7ab4a7 |
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-16
|
|
|
7ab4a7 |
- Rebuild with enable hardening (bug #1636329)
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Wed Apr 04 2018 Petr Pisar <ppisar@redhat.com> - 1.04-15
|
|
|
7ab4a7 |
- Modernize spec file
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.04-14
|
|
|
7ab4a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.04-13
|
|
|
7ab4a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-12
|
|
|
7ab4a7 |
- Perl 5.26 rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.04-11
|
|
|
7ab4a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-10
|
|
|
7ab4a7 |
- Perl 5.24 rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.04-9
|
|
|
7ab4a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-8
|
|
|
7ab4a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-7
|
|
|
7ab4a7 |
- Perl 5.22 rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-6
|
|
|
7ab4a7 |
- Perl 5.20 rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-5
|
|
|
7ab4a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-4
|
|
|
7ab4a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.04-3
|
|
|
7ab4a7 |
- Perl 5.18 rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-2
|
|
|
7ab4a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Sat Jan 05 2013 Iain Arnell <iarnell@gmail.com> 1.04-1
|
|
|
7ab4a7 |
- update to latest upstream version
|
|
|
7ab4a7 |
- clean up spec for modern rpmbuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Thu Nov 08 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.02-7
|
|
|
7ab4a7 |
- Update dependencies
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-6
|
|
|
7ab4a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.02-5
|
|
|
7ab4a7 |
- Perl 5.16 rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-4
|
|
|
7ab4a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.02-3
|
|
|
7ab4a7 |
- Perl mass rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-2
|
|
|
7ab4a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Wed Dec 08 2010 Steven Pritchard <steve@kspei.com> 1.02-1
|
|
|
7ab4a7 |
- Update to 1.02.
|
|
|
7ab4a7 |
- Update Source0 URL.
|
|
|
7ab4a7 |
- BR Test::Builder and Test::More, plus update versioned Test::Tester BR.
|
|
|
7ab4a7 |
- CHANGES renamed to Changes, and LGPL renamed to LICENSE.
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.084-7
|
|
|
7ab4a7 |
- Mass rebuild with perl-5.12.0
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.084-6
|
|
|
7ab4a7 |
- rebuild against perl 5.10.1
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.084-5
|
|
|
7ab4a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.084-4
|
|
|
7ab4a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.084-3
|
|
|
7ab4a7 |
- Rebuild for perl 5.10 (again)
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.084-2
|
|
|
7ab4a7 |
- rebuild for new perl
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.084-1
|
|
|
7ab4a7 |
- Update to 0.084.
|
|
|
7ab4a7 |
- Update License.
|
|
|
7ab4a7 |
- BR Devel::StackTrace.
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.083-2
|
|
|
7ab4a7 |
- BR ExtUtils::MakeMaker.
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Tue Dec 26 2006 Steven Pritchard <steve@kspei.com> 0.083-1
|
|
|
7ab4a7 |
- Update to 0.083.
|
|
|
7ab4a7 |
- Use fixperms macro instead of our own chmod incantation.
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.082-2
|
|
|
7ab4a7 |
- Fix find option order.
|
|
|
7ab4a7 |
|
|
|
7ab4a7 |
* Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.082-1
|
|
|
7ab4a7 |
- Specfile autogenerated by cpanspec 1.64.
|
|
|
7ab4a7 |
- Fix License.
|
|
|
7ab4a7 |
- Drop explicit dependency on perl(Test::Tester). (Seems to be bogus.)
|