%define module Test-Base %define name perl-%module %define version 0.50 %define release %mkrel 2 Name: %name Version: %version Release: %release Summary: A Data Driven Testing Framework License: GPL or Artistic Group: Development/Perl Source0: http://cpan.mirrors.easynet.fr/authors/id/I/IN/INGY/%module-%version.tar.bz2 Url: http://search.cpan.org/dist/%module/ BuildRequires: perl-devel BuildRequires: perl-Spiffy >= 0.29 BuildRoot: %_tmppath/%name-%version BuildArch: noarch %define _requires_exceptions Module::Install %description Perl gives you a standard way to run tests with Test::Harness, and basic testing primitives with Test::More. After that you are pretty much on your own to develop a testing framework and philosophy. Test::More encourages you to make your own framework by subclassing Test::Builder, but that is not trivial. Test::Base gives you a way to write your own test framework base class that is trivial. %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 %perl_vendorlib/Test/* %perl_vendorlib/Module/Install/* %_mandir/*/* %changelog * Wed Mar 08 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.50-2mdk - No Perl module should ever require Module::Install * Mon Feb 13 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.50-1mdk - 0.50 * Mon Jan 30 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.48-1mdk - 0.48 * Tue Jan 24 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.47-1mdk - 0.47 * Thu Jan 19 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.46-2mdk - Add BuildRequires - Fix source url * Thu Jan 19 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.46-1mdk - 0.46 * Wed Jan 11 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.45-1mdk - Initial MDV release.