- add old_test_more patch to fix build on sle11
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-B-Hooks-EndOfScope?expand=0&rev=13
This commit is contained in:
parent
4c110569d5
commit
1f6c662f21
28
old_test_more.patch
Normal file
28
old_test_more.patch
Normal file
@ -0,0 +1,28 @@
|
||||
--- Makefile.PL
|
||||
+++ Makefile.PL
|
||||
@@ -12,7 +12,7 @@
|
||||
"ABSTRACT" => "Execute code after a scope finished compilation",
|
||||
"AUTHOR" => "Florian Ragwitz <rafl\@debian.org>",
|
||||
"BUILD_REQUIRES" => {
|
||||
- "Test::More" => "0.89"
|
||||
+ "Test::More" => "0.01"
|
||||
},
|
||||
"CONFIGURE_REQUIRES" => {
|
||||
"ExtUtils::MakeMaker" => "6.30"
|
||||
--- t/localise.t
|
||||
+++ t/localise.t
|
||||
@@ -1,7 +1,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
-use Test::More 0.89;
|
||||
+use Test::More qw(no_plan);
|
||||
|
||||
use B::Hooks::EndOfScope;
|
||||
|
||||
@@ -47,4 +47,4 @@
|
||||
BEGIN { ok($fired) }
|
||||
}
|
||||
|
||||
-done_testing;
|
||||
+#done_testing;
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 29 18:13:24 CET 2012 - ro@suse.de
|
||||
|
||||
- add old_test_more patch to fix build on sle11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 24 08:25:56 UTC 2012 - coolo@suse.com
|
||||
|
||||
|
@ -25,6 +25,9 @@ License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/B-Hooks-EndOfScope/
|
||||
Source: http://www.cpan.org/authors/id/F/FL/FLORA/%{cpan_name}-%{version}.tar.gz
|
||||
%if 0%{?suse_version} <= 1110
|
||||
Patch0: old_test_more.patch
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
@ -47,6 +50,9 @@ surrounding scope.
|
||||
%if 0%{?sles_version} == 10
|
||||
%{__perl} -p -i -e 's|6.31|6.30|' Makefile.PL
|
||||
%endif
|
||||
%if 0%{?suse_version} <= 1110
|
||||
%patch0
|
||||
%endif
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user