%global pkg_name Test-Harness %global pkg_version 3.03 %global rpm_pkg_version 3.03 %global rpm_pkg_release 1.n0i.10 Summary: Run Perl standard test scripts with statistics Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Epoch: 0 Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl Provides: perl-TAP-Parser = %{pkg_version} Obsoletes: perl-TAP-Parser <= %{pkg_version} %description Perl test scripts print to standard output "ok N" for each single test, where "N" is an increasing sequence of integers. The first line output by a standard test script is "1..M" with "M" being the number of tests that should be run within the test script. Test::Harness::runtests(@tests) runs all the test scripts named as arguments and checks standard output for the expected "ok N" strings. After all tests have been performed, runtests() prints some performance statistics that are computed by the Benchmark module. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path examples/} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files -b -m} %doc Changes examples/ %changelog * Sun Nov 18 2007 Marius Feraru - 0:3.03-1.n0i.10 - version 3.03 * Wed Nov 14 2007 Marius Feraru - 0:3.01-1.n0i.9 - version 3.01 * Thu Nov 08 2007 Marius FERARU - 0:3.00-2.n0i.8 - obsoletes perl-TAP-Parser <= 3 * Wed Nov 07 2007 Marius Feraru - 0:3.00-1.n0i.7 - version 3.00 * Tue May 22 2007 Marius Feraru - 0:2.64-2.n0i.6 - mass rebuild * Wed May 09 2007 Marius Feraru - 0:2.64-1.n0i.5 - spec file (re)created using N0i::CPAN::RPMizer v1.14.5 - rebuild on perl 5.8.8 * Fri Oct 07 2005 Marius Feraru - 0:2.56-1.n0i.4 - version 2.56 * Fri Sep 02 2005 Marius FERARU - 0:2.53_02-1.n0i.3 - version 2.53_02 * Fri Jul 29 2005 Marius Feraru - 0:2.53_01-1.n0i.2 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Fri Apr 30 2004 Marius Feraru - 0:2.42-1.n0i.1 - version 2.42 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101