Name: perl-Test-MockModule Version: 0.05 Release: 4%{?dist} Summary: Override subroutines in a module for unit testing Group: Development/Libraries License: GPL or Artistic URL: http://search.cpan.org/dist/Test-MockModule/ Source0: http://search.cpan.org/CPAN/authors/id/S/SI/SIMONFLK/Test-MockModule-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.6.1, perl(Test::Pod), perl(Test::Pod::Coverage) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description %{summary}. %prep %setup -q -n Test-MockModule-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/Test %{_mandir}/man3/*.3* %changelog * Fri Sep 15 2006 Tom "spot" Callaway 0.05-4 - bump for fc6 * Wed Jul 27 2005 Tom "spot" Callaway 0.05-3 - add missing BuildRequires * Fri Jul 8 2005 Tom "spot" Callaway 0.05-2 - cleanups * Wed Jul 6 2005 Tom "spot" Callaway 0.05-1 - Initial package for Fedora Extras