Hello community,

here is the log from the commit of package perl-Eval-Closure for 
openSUSE:Factory
checked in at Tue Jul 5 12:19:50 CEST 2011.



--------
--- perl-Eval-Closure/perl-Eval-Closure.changes 2011-05-04 13:07:09.000000000 
+0200
+++ /mounts/work_src_done/STABLE/perl-Eval-Closure/perl-Eval-Closure.changes    
2011-06-04 20:58:04.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Jun  4 18:30:04 UTC 2011 - l...@linux-schulserver.de
+
+- fix build on distributions with old Test::More module
+  ( perl-Eval-Closure-old_Test-More.patch )
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  perl-Eval-Closure-old_Test-More.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Eval-Closure.spec ++++++
--- /var/tmp/diff_new_pack.j3mSyg/_old  2011-07-05 12:19:22.000000000 +0200
+++ /var/tmp/diff_new_pack.j3mSyg/_new  2011-07-05 12:19:22.000000000 +0200
@@ -19,13 +19,14 @@
 
 Name:           perl-Eval-Closure
 Version:        0.05
-Release:        1
+Release:        3
 License:        GPL+ or Artistic
 %define cpan_name Eval-Closure
-Summary:        safely and cleanly create closures via string eval
+Summary:        Safely and cleanly create closures via string eval
 Url:            http://search.cpan.org/dist/Eval-Closure/
 Group:          Development/Libraries/Perl
 Source:         
http://www.cpan.org/authors/id/D/DO/DOY/%{cpan_name}-%{version}.tar.gz
+Patch1:         perl-Eval-Closure-old_Test-More.patch
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
@@ -59,6 +60,9 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
+%if 0%{?suse_version} >= 1110
+%patch1 -p1
+%endif
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor

++++++ perl-Eval-Closure-old_Test-More.patch ++++++
Index: Eval-Closure-0.05/t/01-basic.t
===================================================================
--- Eval-Closure-0.05.orig/t/01-basic.t
+++ Eval-Closure-0.05/t/01-basic.t
@@ -1,7 +1,7 @@
 #!/usr/bin/env perl
 use strict;
 use warnings;
-use Test::More;
+use Test::More qw(no_plan);
 use Test::Fatal;
 
 use Eval::Closure;
@@ -45,4 +45,4 @@ use Eval::Closure;
     ok(!$code->(), "environment is clean");
 }
 
-done_testing;
+#done_testing;
Index: Eval-Closure-0.05/t/02-close-over.t
===================================================================
--- Eval-Closure-0.05.orig/t/02-close-over.t
+++ Eval-Closure-0.05/t/02-close-over.t
@@ -1,7 +1,7 @@
 #!/usr/bin/env perl
 use strict;
 use warnings;
-use Test::More;
+use Test::More qw(no_plan);
 use Test::Fatal;
 
 use Eval::Closure;
@@ -52,4 +52,4 @@ use Test::Requires 'PadWalker';
 # it'd be nice if we could test that closing over other things wasn't possible,
 # but perl's optimizer gets in the way of that
 
-done_testing;
+#done_testing;
Index: Eval-Closure-0.05/t/03-description.t
===================================================================
--- Eval-Closure-0.05.orig/t/03-description.t
+++ Eval-Closure-0.05/t/03-description.t
@@ -1,7 +1,7 @@
 #!/usr/bin/env perl
 use strict;
 use warnings;
-use Test::More;
+use Test::More qw(no_plan);
 use Test::Fatal;
 
 use Eval::Closure;
@@ -50,4 +50,4 @@ SOURCE
         "description is set"
     );
 }
-done_testing;
+#done_testing;
Index: Eval-Closure-0.05/t/04-canonicalize-source.t
===================================================================
--- Eval-Closure-0.05.orig/t/04-canonicalize-source.t
+++ Eval-Closure-0.05/t/04-canonicalize-source.t
@@ -1,7 +1,7 @@
 #!/usr/bin/env perl
 use strict;
 use warnings;
-use Test::More;
+use Test::More qw(no_plan);
 
 use Eval::Closure;
 
@@ -28,4 +28,4 @@ use Eval::Closure;
     is($code->(), "foo", "got the right code");
 }
 
-done_testing;
+#done_testing;
Index: Eval-Closure-0.05/t/05-memoize.t
===================================================================
--- Eval-Closure-0.05.orig/t/05-memoize.t
+++ Eval-Closure-0.05/t/05-memoize.t
@@ -1,7 +1,7 @@
 #!/usr/bin/env perl
 use strict;
 use warnings;
-use Test::More;
+use Test::More qw(no_plan);
 use Test::Fatal;
 use Test::Requires 'Test::Output';
 
@@ -99,4 +99,4 @@ use Eval::Closure;
          "got the right description");
 }
 
-done_testing;
+#done_testing;
Index: Eval-Closure-0.05/t/10-errors.t
===================================================================
--- Eval-Closure-0.05.orig/t/10-errors.t
+++ Eval-Closure-0.05/t/10-errors.t
@@ -1,7 +1,7 @@
 #!/usr/bin/env perl
 use strict;
 use warnings;
-use Test::More;
+use Test::More qw(no_plan);
 use Test::Fatal;
 
 use Eval::Closure;
@@ -64,4 +64,4 @@ unlike(
     "with terse_error, does not include the source code"
 );
 
-done_testing;
+#done_testing;
Index: Eval-Closure-0.05/t/11-debugger.t
===================================================================
--- Eval-Closure-0.05.orig/t/11-debugger.t
+++ Eval-Closure-0.05/t/11-debugger.t
@@ -1,7 +1,7 @@
 #!/usr/bin/env perl
 use strict;
 use warnings;
-use Test::More;
+use Test::More qw(no_plan);
 use Test::Fatal;
 
 BEGIN { $^P |= 0x210 } # PERLDBf_SUBLINE
@@ -20,4 +20,4 @@ unlike(
 );
 
 
-done_testing;
+#done_testing;

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to