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.09.tar.gz
/Test-MockObject-1.20120301.tar.gz

@ -1,23 +1,24 @@
Name: perl-Test-MockObject Name: perl-Test-MockObject
Version: 1.09 Version: 1.20120301
Release: 13%{?dist} Release: 1%{?dist}
Summary: Perl extension for emulating troublesome interfaces Summary: Perl extension for emulating troublesome interfaces
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Test-MockObject/ URL: http://search.cpan.org/dist/Test-MockObject/
Source0: http://www.cpan.org/authors/id/C/CH/CHROMATIC/Test-MockObject-%{version}.tar.gz 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 BuildArch: noarch
BuildRequires: perl(CGI) BuildRequires: perl(CGI)
BuildRequires: perl(Module::Build) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(Test::Exception) 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(Test::Pod), perl(Test::Pod::Coverage)
BuildRequires: perl(UNIVERSAL::can) >= 1.11 BuildRequires: perl(UNIVERSAL::can) >= 1.20110617
BuildRequires: perl(UNIVERSAL::isa) >= 0.06 BuildRequires: perl(UNIVERSAL::isa) >= 1.20110614
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description %description
Test::MockObject is a highly polymorphic testing object, capable of Test::MockObject is a highly polymorphic testing object, capable of
looking like all sorts of objects. This makes white-box testing much 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. up your own data. (Another option is not to test difficult things.
Now you have no excuse.) Now you have no excuse.)
%prep %prep
%setup -q -n Test-MockObject-%{version} %setup -q -n Test-MockObject-%{version}
%build %build
%{__perl} Build.PL installdirs=vendor perl Makefile.PL INSTALLDIRS=vendor
./Build make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=%{buildroot}
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} %{buildroot}
%check %check
PERL_RUN_ALL_TESTS=1 ./Build test PERL_RUN_ALL_TESTS=1 make test
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-)
%doc Changes README %doc Changes README
%{perl_vendorlib}/Test/ %{perl_vendorlib}/Test/
%{_mandir}/man3/*.3pm* %{_mandir}/man3/*.3pm*
%changelog %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 * 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 - 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