ffa505
Name:           perl-Test-NoWarnings
ffa505
Version:        1.04
ffa505
Release:        2%{?dist}
ffa505
Summary:        Make sure you didn't emit any warnings while testing
ffa505
License:        LGPLv2+
ffa505
Group:          Development/Libraries
ffa505
URL:            http://search.cpan.org/dist/Test-NoWarnings/
ffa505
Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/Test-NoWarnings-%{version}.tar.gz
ffa505
BuildArch:      noarch
ffa505
BuildRequires:  perl(Carp)
ffa505
BuildRequires:  perl(Devel::StackTrace)
ffa505
BuildRequires:  perl(Exporter)
ffa505
BuildRequires:  perl(ExtUtils::MakeMaker)
ffa505
BuildRequires:  perl(Test::Builder) >= 0.86
ffa505
BuildRequires:  perl(Test::More)
ffa505
BuildRequires:  perl(Test::Tester) >= 0.107
ffa505
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
ffa505
ffa505
%description
ffa505
In general, your tests shouldn't produce warnings. This module causes any
ffa505
warnings to be captured and stored. It automatically adds an extra test
ffa505
that will run when your script ends to check that there were no warnings.
ffa505
If there were any warnings, the test will give a "not ok" and diagnostics of
ffa505
where, when and what the warning was, including a stack trace of what was
ffa505
going on when the it occurred.
ffa505
ffa505
%prep
ffa505
%setup -q -n Test-NoWarnings-%{version}
ffa505
ffa505
%build
ffa505
%{__perl} Makefile.PL INSTALLDIRS=vendor
ffa505
make %{?_smp_mflags}
ffa505
ffa505
%install
ffa505
make pure_install DESTDIR=$RPM_BUILD_ROOT
ffa505
ffa505
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
ffa505
ffa505
%{_fixperms} $RPM_BUILD_ROOT/*
ffa505
ffa505
%check
ffa505
make test
ffa505
ffa505
%files
ffa505
%doc Changes LICENSE README
ffa505
%{perl_vendorlib}/*
ffa505
%{_mandir}/man3/*
ffa505
ffa505
%changelog
ffa505
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.04-2
ffa505
- Mass rebuild 2013-12-27
ffa505
ffa505
* Sat Jan 05 2013 Iain Arnell <iarnell@gmail.com> 1.04-1
ffa505
- update to latest upstream version
ffa505
- clean up spec for modern rpmbuild
ffa505
ffa505
* Thu Nov 08 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.02-7
ffa505
- Update dependencies
ffa505
ffa505
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-6
ffa505
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ffa505
ffa505
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.02-5
ffa505
- Perl 5.16 rebuild
ffa505
ffa505
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-4
ffa505
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ffa505
ffa505
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.02-3
ffa505
- Perl mass rebuild
ffa505
ffa505
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-2
ffa505
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ffa505
ffa505
* Wed Dec 08 2010 Steven Pritchard <steve@kspei.com> 1.02-1
ffa505
- Update to 1.02.
ffa505
- Update Source0 URL.
ffa505
- BR Test::Builder and Test::More, plus update versioned Test::Tester BR.
ffa505
- CHANGES renamed to Changes, and LGPL renamed to LICENSE.
ffa505
ffa505
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.084-7
ffa505
- Mass rebuild with perl-5.12.0
ffa505
ffa505
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.084-6
ffa505
- rebuild against perl 5.10.1
ffa505
ffa505
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.084-5
ffa505
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ffa505
ffa505
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.084-4
ffa505
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ffa505
ffa505
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.084-3
ffa505
- Rebuild for perl 5.10 (again)
ffa505
ffa505
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.084-2
ffa505
- rebuild for new perl
ffa505
ffa505
* Sat Jan 12 2008 Steven Pritchard <steve@kspei.com> 0.084-1
ffa505
- Update to 0.084.
ffa505
- Update License.
ffa505
- BR Devel::StackTrace.
ffa505
ffa505
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.083-2
ffa505
- BR ExtUtils::MakeMaker.
ffa505
ffa505
* Tue Dec 26 2006 Steven Pritchard <steve@kspei.com> 0.083-1
ffa505
- Update to 0.083.
ffa505
- Use fixperms macro instead of our own chmod incantation.
ffa505
ffa505
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.082-2
ffa505
- Fix find option order.
ffa505
ffa505
* Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.082-1
ffa505
- Specfile autogenerated by cpanspec 1.64.
ffa505
- Fix License.
ffa505
- Drop explicit dependency on perl(Test::Tester).  (Seems to be bogus.)