%define upstream_name ExtUtils-Install %define upstream_version 1.54 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: yet another framework for writing test scripts License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/ExtUtils/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Carp) BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Basename) BuildRequires: perl(File::Compare) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Find) BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description *STOP!* If you're just getting started writing tests, have a look at Test::Simple first. This is a drop in replacement for Test::Simple which you can switch to once you get the hang of basic testing. The purpose of this module is to provide a wide range of testing utilities. Various ways to say "ok" with better diagnostics, facilities to skip tests, test future features and compare complicated data structures. While you can do almost anything with a simple 'ok()' function, it doesn't provide good diagnostic output. I love it when a plan comes together Before anything else, you need a testing plan. This basically declares how many tests your script is going to run to protect against premature failure. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Tue Aug 04 2009 Jérôme Quelin <jquelin@mandriva.org> 1.540.0-1mdv2010.0 + Revision: 408832 - update to 1.54 * Wed Jul 29 2009 Jérôme Quelin <jquelin@mandriva.org> 1.520.0-1mdv2010.0 + Revision: 403164 - rebuild using %%perl_convert_version * Thu Nov 13 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.52-1mdv2009.1 + Revision: 302818 - update to new version 1.52 * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.50-2mdv2009.0 + Revision: 268507 - rebuild early 2009.0 package (before pixel changes) * Sat May 24 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.50-1mdv2009.0 + Revision: 210830 - import perl-ExtUtils-Install