You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.5 KiB
85 lines
2.5 KiB
Name: perl-Test-Output
|
|
Version: 0.12
|
|
Release: 4%{?dist}
|
|
Summary: Utilities to test STDOUT and STDERR messages
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/Test-Output/
|
|
Source0: http://www.cpan.org/authors/id/S/SS/SSORICHE/Test-Output-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
BuildRequires: perl(Sub::Exporter)
|
|
BuildRequires: perl(Test::Pod) >= 1.14
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(Test::Tester) >= 0.103
|
|
Requires: perl(Sub::Exporter)
|
|
Requires: perl(Test::Tester) >= 0.103
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
Test::Output provides a simple interface for testing output sent to STDOUT
|
|
or STDERR. A number of different utilities are included to try and be as
|
|
flexible as possible to the tester.
|
|
|
|
%prep
|
|
%setup -q -n Test-Output-%{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 README TODO
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.12-4
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Wed Dec 10 2008 Steven Pritchard <steve@kspei.com> 0.12-1
|
|
- Update to 0.12.
|
|
- BR Test::More.
|
|
- Fix typo in description.
|
|
- Include TODO in docs.
|
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.10-4
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-3
|
|
- rebuild for new perl
|
|
- fix license tag
|
|
|
|
* Thu Jul 05 2007 Steven Pritchard <steve@kspei.com> 0.10-2
|
|
- Rebuild.
|
|
|
|
* Mon Jul 02 2007 Steven Pritchard <steve@kspei.com> 0.10-1
|
|
- Specfile autogenerated by cpanspec 1.71.
|
|
- Fix License.
|
|
- BR Test::Pod and Test::Pod::Coverage.
|