From e10fa39edd658733d41b5f24025263c721140a8a Mon Sep 17 00:00:00 2001 From: Marcela Mašláňová Date: Feb 16 2009 07:16:34 +0000 Subject: - add requires Test::More --- diff --git a/.cvsignore b/.cvsignore index e69de29..2f0b492 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Test-Harness-Straps-0.30.tar.gz diff --git a/perl-Test-Harness-Straps.spec b/perl-Test-Harness-Straps.spec new file mode 100644 index 0000000..44a194b --- /dev/null +++ b/perl-Test-Harness-Straps.spec @@ -0,0 +1,54 @@ +Name: perl-Test-Harness-Straps +Version: 0.30 +Release: 2%{?dist} +Summary: Detailed analysis of test results +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Test-Harness-Straps/ +Source0: http://www.cpan.org/authors/id/M/MS/MSCHWERN/Test-Harness-Straps-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Test::Harness is limited to printing out its results. This makes analysis +of the test results difficult for anything but a human. To make it easier +for programs to work with test results, we provide Test::Harness::Straps. +Instead of printing the results, straps provide them as raw data. You can +also configure how the tests are to be run. + +%prep +%setup -q -n Test-Harness-Straps-%{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 \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Feb 6 2009 Marcela Mašláňová 0.30-2 +- add requires Test::More + +* Wed Jan 21 2009 Marcela Mašláňová 0.30-1 +- Specfile autogenerated by cpanspec 1.77. diff --git a/sources b/sources index e69de29..03d92e2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b72c0aa8950a6dfc1908b884fc768577 Test-Harness-Straps-0.30.tar.gz