Name: perl-Test-Block Version: 0.11 Release: 1%{?dist} # see lib/Test/Block.pm License: GPL+ or Artistic Group: Development/Libraries Summary: Specify fine granularity test plans Source: http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/Test-Block-%{version}.tar.gz Url: http://search.cpan.org/dist/Test-Block BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Module::Build::Compat) BuildRequires: perl(Test::Builder) >= 0.17 BuildRequires: perl(Test::Builder::Tester) >= 1.01 BuildRequires: perl(Test::Exception) >= 0.15 BuildRequires: perl(Test::More) >= 0.47 # not picked up due to use base Requires: perl(Tie::StdScalar) %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 Test::Builder and plays happily with Test::More and friends. %prep %setup -q -n Test-Block-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Tue Nov 18 2008 Chris Weyl 0.11-1 - update for submission * Tue Nov 18 2008 Chris Weyl 0.11-0.1 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)