|
@@ -1,23 +1,25 @@
|
|
%define pkgname Test-MockObject
|
|
%define pkgname Test-MockObject
|
|
|
|
|
|
Name: perl-%{pkgname}
|
|
Name: perl-%{pkgname}
|
|
-Version: 1.09
|
|
+Version: 1.20140408
|
|
-Release: 2%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
Summary: Perl extension for emulating troublesome interfaces
|
|
Summary: Perl extension for emulating troublesome interfaces
|
|
|
|
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
License: Artistic or GPL+
|
|
License: Artistic or GPL+
|
|
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)
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
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))
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -38,20 +40,19 @@ Now you have no excuse.)
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
-%{__perl} Build.PL installdirs=vendor
|
|
+perl Makefile.PL INSTALLDIRS=vendor
|
|
-./Build
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
-rm -rf %{buildroot}
|
|
+make pure_install DESTDIR=%{buildroot}
|
|
-./Build install destdir=%{buildroot} create_packlist=0
|
|
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
+find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
|
|
%{_fixperms} %{buildroot}/*
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
%check
|
|
-PERL_RUN_ALL_TESTS=1 ./Build test
|
|
+PERL_RUN_ALL_TESTS=1 make test
|
|
-
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
@@ -67,6 +68,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Oct 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.20140408-1
|
|
|
|
+- updated to 1.20140408
|
|
|
|
+- build with perl 5.16.3
|
|
|
|
+
|
|
* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-2
|
|
* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.09-2
|
|
- rebuild
|
|
- rebuild
|
|
|
|
|