update to 1.20120301

epel9
Tom Callaway 12 years ago
parent 92870a35d5
commit 9062d5e786

1
.gitignore vendored

@ -1 +1,2 @@
Test-MockObject-1.09.tar.gz
/Test-MockObject-1.20120301.tar.gz

@ -1,23 +1,24 @@
Name: perl-Test-MockObject
Version: 1.09
Release: 13%{?dist}
Version: 1.20120301
Release: 1%{?dist}
Summary: Perl extension for emulating troublesome interfaces
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Test-MockObject/
Source0: http://www.cpan.org/authors/id/C/CH/CHROMATIC/Test-MockObject-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(CGI)
BuildRequires: perl(Module::Build)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.98
BuildRequires: perl(Test::Warn) >= 0.23
BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
BuildRequires: perl(UNIVERSAL::can) >= 1.11
BuildRequires: perl(UNIVERSAL::isa) >= 0.06
BuildRequires: perl(UNIVERSAL::can) >= 1.20110617
BuildRequires: perl(UNIVERSAL::isa) >= 1.20110614
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
Test::MockObject is a highly polymorphic testing object, capable of
looking like all sorts of objects. This makes white-box testing much
@ -26,39 +27,31 @@ and receives from the mocked object, instead of worrying about faking
up your own data. (Another option is not to test difficult things.
Now you have no excuse.)
%prep
%setup -q -n Test-MockObject-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} $RPM_BUILD_ROOT/*
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
%{_fixperms} %{buildroot}
%check
PERL_RUN_ALL_TESTS=1 ./Build test
%clean
rm -rf $RPM_BUILD_ROOT
PERL_RUN_ALL_TESTS=1 make test
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/Test/
%{_mandir}/man3/*.3pm*
%changelog
* Sun Jan 20 2013 Tom Callaway <spot@fedoraproject.org> - 1.20120301-1
- update to 1.20120301
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

@ -1 +1 @@
3c9c2842d40fa8c389563c227804d7d8 Test-MockObject-1.09.tar.gz
020ee433827e4e33ffe873eeb3e16048 Test-MockObject-1.20120301.tar.gz

Loading…
Cancel
Save