[perl-Test-MockObject] update to 1.20120301
Tom Callaway
spot at fedoraproject.org
Sun Jan 20 20:30:33 UTC 2013
commit 9062d5e7869f9abea84a42556b9795f274eb6d9a
Author: Tom Callaway <spot at fedoraproject.org>
Date: Sun Jan 20 15:33:03 2013 -0500
update to 1.20120301
.gitignore | 1 +
perl-Test-MockObject.spec | 45 +++++++++++++++++++--------------------------
sources | 2 +-
3 files changed, 21 insertions(+), 27 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 972dca7..0bd6800 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Test-MockObject-1.09.tar.gz
+/Test-MockObject-1.20120301.tar.gz
diff --git a/perl-Test-MockObject.spec b/perl-Test-MockObject.spec
index b87a969..31f9cbf 100644
--- a/perl-Test-MockObject.spec
+++ b/perl-Test-MockObject.spec
@@ -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 at fedoraproject.org> - 1.20120301-1
+- update to 1.20120301
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.09-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/sources b/sources
index 813c47d..0818107 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3c9c2842d40fa8c389563c227804d7d8 Test-MockObject-1.09.tar.gz
+020ee433827e4e33ffe873eeb3e16048 Test-MockObject-1.20120301.tar.gz
More information about the perl-devel
mailing list