From 42da6972df706de2edecb25c2bf8403723d242dd Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Sat, 30 Jul 2005 01:38:42 +0000 Subject: [PATCH] auto-import perl-Test-MockModule-0.05-3 on branch devel from perl-Test-MockModule-0.05-3.src.rpm --- .cvsignore | 1 + perl-Test-MockModule.spec | 53 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+) create mode 100644 perl-Test-MockModule.spec diff --git a/.cvsignore b/.cvsignore index e69de29..59f55b3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Test-MockModule-0.05.tar.gz diff --git a/perl-Test-MockModule.spec b/perl-Test-MockModule.spec new file mode 100644 index 0000000..8a23234 --- /dev/null +++ b/perl-Test-MockModule.spec @@ -0,0 +1,53 @@ +Name: perl-Test-MockModule +Version: 0.05 +Release: 3%{?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 +* 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 diff --git a/sources b/sources index e69de29..7425703 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1b013aeeb221f83e7f325a2f98169296 Test-MockModule-0.05.tar.gz