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.05.tar.gz
/Test-MockModule-0.09.tar.gz

@ -1,16 +1,15 @@
Name: perl-Test-MockModule Name: perl-Test-MockModule
Version: 0.05 Version: 0.09
Release: 22%{?dist} Release: 1%{?dist}
Summary: Override subroutines in a module for unit testing Summary: Override subroutines in a module for unit testing
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Test-MockModule/ URL: http://search.cpan.org/dist/Test-MockModule/
Source0: http://search.cpan.org/CPAN/authors/id/S/SI/SIMONFLK/Test-MockModule-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/S/SI/SIMONFLK/Test-MockModule-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(CGI) BuildRequires: perl(CGI)
BuildRequires: perl(Test::More), perl(Test::Pod), perl(Test::Pod::Coverage) 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)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description %description
@ -20,26 +19,26 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%setup -q -n Test-MockModule-%{version} %setup -q -n Test-MockModule-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Build.PL installdirs=vendor
make ./Build
%install %install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
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/* chmod -R u+w $RPM_BUILD_ROOT/*
%check %check
make test ./Build test
%files %files
%defattr(-,root,root,-)
%doc Changes README %doc Changes README
%license LICENSE
%{perl_vendorlib}/Test %{perl_vendorlib}/Test
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %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 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-22
- Perl 5.20 rebuild - Perl 5.20 rebuild

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

Loading…
Cancel
Save