[521] | 1 | Name: perl-Test-NoWarnings |
---|
[9081] | 2 | Version: 1.04 |
---|
[521] | 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Make sure you didn't emit any warnings while testing |
---|
| 5 | License: LGPL |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | URL: http://search.cpan.org/dist/Test-NoWarnings/ |
---|
| 8 | Source0: http://www.cpan.org/authors/id/F/FD/FDALY/Test-NoWarnings-%{version}.tar.gz |
---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 10 | BuildArch: noarch |
---|
| 11 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
| 12 | BuildRequires: perl(Test::Tester) >= 0.103 |
---|
[9081] | 13 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
[521] | 14 | |
---|
[9081] | 15 | Vendor: Project Vine |
---|
| 16 | Distribution: Vine Linux |
---|
| 17 | |
---|
[521] | 18 | %description |
---|
| 19 | In general, your tests shouldn't produce warnings. This module causes any |
---|
| 20 | warnings to be captured and stored. It automatically adds an extra test |
---|
| 21 | that will run when your script ends to check that there were no warnings. |
---|
| 22 | If there were any warings, the test will give a "not ok" and diagnostics of |
---|
| 23 | where, when and what the warning was, including a stack trace of what was |
---|
| 24 | going on when the it occurred. |
---|
| 25 | |
---|
| 26 | %prep |
---|
| 27 | %setup -q -n Test-NoWarnings-%{version} |
---|
| 28 | |
---|
| 29 | %build |
---|
| 30 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 31 | make %{?_smp_mflags} |
---|
| 32 | |
---|
| 33 | %install |
---|
| 34 | rm -rf $RPM_BUILD_ROOT |
---|
| 35 | |
---|
| 36 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
| 37 | |
---|
| 38 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
---|
| 39 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
| 40 | |
---|
| 41 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
| 42 | |
---|
| 43 | %check |
---|
| 44 | make test |
---|
| 45 | |
---|
| 46 | %clean |
---|
| 47 | rm -rf $RPM_BUILD_ROOT |
---|
| 48 | |
---|
| 49 | %files |
---|
| 50 | %defattr(-,root,root,-) |
---|
[9081] | 51 | %doc Changes LICENSE README |
---|
[521] | 52 | %{perl_vendorlib}/* |
---|
| 53 | %{_mandir}/man3/* |
---|
| 54 | |
---|
| 55 | %changelog |
---|
[9081] | 56 | * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.04-1 |
---|
| 57 | - updated to 1.04 |
---|
| 58 | - built with perl 5.16.3 |
---|
| 59 | - added Vendor and Distribution tag |
---|
| 60 | |
---|
[521] | 61 | * Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.084-1 |
---|
| 62 | - updated to 0.084 |
---|
| 63 | - applied new versioning policy |
---|
| 64 | |
---|
| 65 | * Wed Sep 26 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.083-2vl1 |
---|
| 66 | - initial build for Vine Linux |
---|
| 67 | |
---|
| 68 | * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.083-2 |
---|
| 69 | - BR ExtUtils::MakeMaker. |
---|
| 70 | |
---|
| 71 | * Tue Dec 26 2006 Steven Pritchard <steve@kspei.com> 0.083-1 |
---|
| 72 | - Update to 0.083. |
---|
| 73 | - Use fixperms macro instead of our own chmod incantation. |
---|
| 74 | |
---|
| 75 | * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.082-2 |
---|
| 76 | - Fix find option order. |
---|
| 77 | |
---|
| 78 | * Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.082-1 |
---|
| 79 | - Specfile autogenerated by cpanspec 1.64. |
---|
| 80 | - Fix License. |
---|
| 81 | - Drop explicit dependency on perl(Test::Tester). (Seems to be bogus.) |
---|