update to 0.09

epel9
Tom Callaway 10 years ago
parent 97bb942915
commit 4046004494

1
.gitignore vendored

@ -1 +1,2 @@
Test-MockModule-0.05.tar.gz
/Test-MockModule-0.09.tar.gz

@ -1,16 +1,15 @@
Name: perl-Test-MockModule
Version: 0.05
Release: 22%{?dist}
Version: 0.09
Release: 1%{?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
BuildArch: noarch
BuildRequires: perl(CGI)
BuildRequires: perl(Test::More), perl(Test::Pod), perl(Test::Pod::Coverage)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Module::Build), perl(SUPER)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@ -20,26 +19,26 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%setup -q -n Test-MockModule-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make
%{__perl} Build.PL installdirs=vendor
./Build
%install
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 ';'
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
./Build test
%files
%defattr(-,root,root,-)
%doc Changes README
%license LICENSE
%{perl_vendorlib}/Test
%{_mandir}/man3/*.3*
%changelog
* Fri Mar 27 2015 Tom Callaway <spot@fedoraproject.org> - 0.09-1
- update to 0.09
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-22
- Perl 5.20 rebuild

@ -1 +1 @@
1b013aeeb221f83e7f325a2f98169296 Test-MockModule-0.05.tar.gz
0006964fcda710fcf2832924cdb67546 Test-MockModule-0.09.tar.gz

Loading…
Cancel
Save