Name: perl-TAP-Harness Version: 3.16 Release: 1 Summary: Run Perl standard test scripts with statistics License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Harness/ Source0: http://www.cpan.org/authors/id/A/AN/ANDYA/Test-Harness-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Module::Build) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Run Perl tests and output formatted results with statistics. %prep %setup -q -n Test-Harness-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; # Avoid clash with RHEL5 'prove' command mv $RPM_BUILD_ROOT%{_bindir}/prove $RPM_BUILD_ROOT%{_bindir}/prove-tap mv $RPM_BUILD_ROOT%{_mandir}/man1/prove.1 $RPM_BUILD_ROOT%{_mandir}/man1/prove-tap.1 %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes Changes-2.64 README %{perl_vendorlib}/* %{_mandir}/man3/* %{_mandir}/man1/* %{_bindir}/prove-tap # These do conflict with Test::Harness that is part of perl %exclude %{perl_vendorlib}/Test %exclude %{_mandir}/man3/Test::Harness* %exclude %{_mandir}/man3/App::Prove* %changelog * Mon Apr 6 2009 Daniel P. Berrange - 3.16-1 - Rebase to 3.16 release - Include App::Prove modules & man pages - Include 'prove' command, renamed to 'prove-tap' to avoid clash with base Perl * Sun Jul 20 2008 Lubomir Rintel (Good Data) 3.10-2 - Do not omit the manual * Mon Jun 02 2008 Lubomir Rintel (Good Data) 3.10-1 - Specfile autogenerated by cpanspec 1.75. - Fix description - Exclude Test::Harness