123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- Name: perl-Test-NoWarnings
- Version: 1.04
- Release: 1%{?_dist_release}
- Summary: Make sure you didn't emit any warnings while testing
- License: LGPL
- Group: Development/Libraries
- URL: http://search.cpan.org/dist/Test-NoWarnings/
- Source0: http://www.cpan.org/authors/id/F/FD/FDALY/Test-NoWarnings-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildArch: noarch
- BuildRequires: perl(ExtUtils::MakeMaker)
- BuildRequires: perl(Test::Tester) >= 0.103
- Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- In general, your tests shouldn't produce warnings. This module causes any
- warnings to be captured and stored. It automatically adds an extra test
- that will run when your script ends to check that there were no warnings.
- If there were any warings, the test will give a "not ok" and diagnostics of
- where, when and what the warning was, including a stack trace of what was
- going on when the it occurred.
- %prep
- %setup -q -n Test-NoWarnings-%{version}
- %build
- %{__perl} Makefile.PL INSTALLDIRS=vendor
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
- find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
- find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
- %{_fixperms} $RPM_BUILD_ROOT/*
- %check
- make test
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root,-)
- %doc Changes LICENSE README
- %{perl_vendorlib}/*
- %{_mandir}/man3/*
- %changelog
- * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.04-1
- - updated to 1.04
- - built with perl 5.16.3
- - added Vendor and Distribution tag
- * Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.084-1
- - updated to 0.084
- - applied new versioning policy
- * Wed Sep 26 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.083-2vl1
- - initial build for Vine Linux
- * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.083-2
- - BR ExtUtils::MakeMaker.
- * Tue Dec 26 2006 Steven Pritchard <steve@kspei.com> 0.083-1
- - Update to 0.083.
- - Use fixperms macro instead of our own chmod incantation.
- * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.082-2
- - Fix find option order.
- * Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.082-1
- - Specfile autogenerated by cpanspec 1.64.
- - Fix License.
- - Drop explicit dependency on perl(Test::Tester). (Seems to be bogus.)
|