%define module Test-Block %define version 0.11 %define release %mkrel 2 Name: perl-%{module} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Summary: Specify fine granularity test plans Url: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Test/%{module}-%{version}.tar.gz BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) BuildRequires: perl(Module::Build::Compat) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description This module allows you to specify the number of expected tests at a finer level of granularity than an entire test script. It is built with the Test::Builder manpage and plays happily with the Test::More manpage and friends. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{_mandir}/man3/* %{perl_vendorlib}/Test %changelog * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.11-2mdv2009.0 + Revision: 268730 - rebuild early 2009.0 package (before pixel changes) * Sat May 31 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.11-1mdv2009.0 + Revision: 213785 - import perl-Test-Block * Sat May 31 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.11-1mdv2009.0 - fist mdv release