[5844] | 1 | Name: perl-Test-Output |
---|
[12120] | 2 | %global realver 1.031 |
---|
| 3 | Version: 1.03.1 |
---|
[5844] | 4 | Release: 1%{?_dist_release} |
---|
| 5 | Summary: Utilities to test STDOUT and STDERR messages |
---|
| 6 | License: GPL+ or Artistic |
---|
| 7 | Group: Development/Libraries |
---|
| 8 | URL: http://search.cpan.org/dist/Test-Output/ |
---|
[12120] | 9 | Source0: http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Output-%{realver}.tar.gz |
---|
[9142] | 10 | |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[5844] | 12 | BuildArch: noarch |
---|
[9142] | 13 | BuildRequires: perl(Capture::Tiny) |
---|
[5844] | 14 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
[12120] | 15 | BuildRequires: perl(File::Temp) |
---|
[5844] | 16 | BuildRequires: perl(Sub::Exporter) |
---|
[12120] | 17 | BuildRequires: perl(Test::Pod) |
---|
| 18 | BuildRequires: perl(Test::Pod::Coverage) |
---|
[5844] | 19 | BuildRequires: perl(Test::More) |
---|
[12120] | 20 | BuildRequires: perl(Test::Tester) |
---|
[5844] | 21 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | Test::Output provides a simple interface for testing output sent to STDOUT |
---|
| 25 | or STDERR. A number of different utilities are included to try and be as |
---|
| 26 | flexible as possible to the tester. |
---|
| 27 | |
---|
| 28 | %prep |
---|
[12120] | 29 | %setup -q -n Test-Output-%{realver} |
---|
[5844] | 30 | |
---|
| 31 | %build |
---|
| 32 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 33 | make %{?_smp_mflags} |
---|
| 34 | |
---|
| 35 | %install |
---|
| 36 | rm -rf %{buildroot} |
---|
| 37 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
| 38 | |
---|
| 39 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
| 40 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
| 41 | |
---|
| 42 | %{_fixperms} %{buildroot}/* |
---|
| 43 | |
---|
| 44 | %check |
---|
| 45 | make test |
---|
| 46 | |
---|
| 47 | %clean |
---|
| 48 | rm -rf %{buildroot} |
---|
| 49 | |
---|
| 50 | %files |
---|
[12120] | 51 | %license LICENSE |
---|
| 52 | %doc Changes README |
---|
[5844] | 53 | %{perl_vendorlib}/* |
---|
| 54 | %{_mandir}/man3/* |
---|
| 55 | |
---|
| 56 | %changelog |
---|
[12120] | 57 | * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.03.1-1 |
---|
| 58 | - new upstream release. |
---|
| 59 | - rebuilt with perl-5.26. |
---|
| 60 | |
---|
[9142] | 61 | * Tue Dec 9 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.03-1 |
---|
| 62 | - updated to 1.03 |
---|
| 63 | - built with perl 5.16.3 |
---|
| 64 | - added BR: perl(Capture::Tiny) |
---|
| 65 | |
---|
[5844] | 66 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.01-1 |
---|
| 67 | - initial build for Vine Linux |
---|
| 68 | |
---|
| 69 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-3 |
---|
| 70 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 71 | |
---|
| 72 | * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.01-2 |
---|
| 73 | - Perl mass rebuild |
---|
| 74 | |
---|
| 75 | * Sat May 14 2011 Iain Arnell <iarnell@gmail.com> 1.01-1 |
---|
| 76 | - update to latest upstream version |
---|
| 77 | - clean up spec for modern rpmbuild |
---|
| 78 | - doesn't require Test::Tester |
---|
| 79 | |
---|
| 80 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-2 |
---|
| 81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 82 | |
---|
| 83 | * Wed Dec 08 2010 Steven Pritchard <steve@kspei.com> 0.16-1 |
---|
| 84 | - Update to 0.16. |
---|
| 85 | - Update Source0 URL. |
---|
| 86 | - Add LICENSE to docs. |
---|
| 87 | |
---|
| 88 | * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.12-5 |
---|
| 89 | - Mass rebuild with perl-5.12.0 |
---|
| 90 | |
---|
| 91 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.12-4 |
---|
| 92 | - rebuild against perl 5.10.1 |
---|
| 93 | |
---|
| 94 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-3 |
---|
| 95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 96 | |
---|
| 97 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2 |
---|
| 98 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 99 | |
---|
| 100 | * Wed Dec 10 2008 Steven Pritchard <steve@kspei.com> 0.12-1 |
---|
| 101 | - Update to 0.12. |
---|
| 102 | - BR Test::More. |
---|
| 103 | - Fix typo in description. |
---|
| 104 | - Include TODO in docs. |
---|
| 105 | |
---|
| 106 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.10-4 |
---|
| 107 | - Rebuild for perl 5.10 (again) |
---|
| 108 | |
---|
| 109 | * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-3 |
---|
| 110 | - rebuild for new perl |
---|
| 111 | - fix license tag |
---|
| 112 | |
---|
| 113 | * Thu Jul 05 2007 Steven Pritchard <steve@kspei.com> 0.10-2 |
---|
| 114 | - Rebuild. |
---|
| 115 | |
---|
| 116 | * Mon Jul 02 2007 Steven Pritchard <steve@kspei.com> 0.10-1 |
---|
| 117 | - Specfile autogenerated by cpanspec 1.71. |
---|
| 118 | - Fix License. |
---|
| 119 | - BR Test::Pod and Test::Pod::Coverage. |
---|