File perl-namespace-clean_Build_n_Test.patch of Package perl-namespace-clean

diff -ruN namespace-clean-0.18-orig/Makefile.PL namespace-clean-0.18/Makefile.PL
--- namespace-clean-0.18-orig/Makefile.PL	2010-06-13 19:11:17.000000000 +0200
+++ namespace-clean-0.18/Makefile.PL	2010-07-12 15:16:14.000000000 +0200
@@ -14,7 +14,7 @@
   'BUILD_REQUIRES' => {
     'Exporter' => '0',
     'FindBin' => '0',
-    'Test::More' => '0.88',
+    'Test::More' => '0',
     'constant' => '0'
   },
   'CONFIGURE_REQUIRES' => {
diff -ruN namespace-clean-0.18-orig/META.json namespace-clean-0.18/META.json
--- namespace-clean-0.18-orig/META.json	2010-06-13 19:11:17.000000000 +0200
+++ namespace-clean-0.18/META.json	2010-07-12 15:16:30.000000000 +0200
@@ -34,7 +34,7 @@
          "requires" : {
             "Exporter" : 0,
             "FindBin" : 0,
-            "Test::More" : "0.88",
+            "Test::More" : "0",
             "constant" : 0
          }
       }
diff -ruN namespace-clean-0.18-orig/META.yml namespace-clean-0.18/META.yml
--- namespace-clean-0.18-orig/META.yml	2010-06-13 19:11:17.000000000 +0200
+++ namespace-clean-0.18/META.yml	2010-07-12 15:16:41.000000000 +0200
@@ -7,7 +7,7 @@
 build_requires:
   Exporter: 0
   FindBin: 0
-  Test::More: 0.88
+  Test::More: 0
   constant: 0
 configure_requires:
   ExtUtils::MakeMaker: 6.31
diff -ruN namespace-clean-0.18-orig/t/08-const-sub.t namespace-clean-0.18/t/08-const-sub.t
--- namespace-clean-0.18-orig/t/08-const-sub.t	2010-06-13 19:11:17.000000000 +0200
+++ namespace-clean-0.18/t/08-const-sub.t	2010-07-12 15:17:35.000000000 +0200
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-use Test::More 0.88;
+use Test::More qw(no_plan);
 
 use constant CONST => 123;
 use namespace::clean;
@@ -11,4 +11,4 @@
 
 ok eval("!defined(&CONST)");
 
-done_testing;
+#done_testing;
diff -ruN namespace-clean-0.18-orig/t/author-07-debugger.t namespace-clean-0.18/t/author-07-debugger.t
--- namespace-clean-0.18-orig/t/author-07-debugger.t	2010-06-13 19:11:17.000000000 +0200
+++ namespace-clean-0.18/t/author-07-debugger.t	2010-07-12 15:18:10.000000000 +0200
@@ -6,7 +6,7 @@
   }
 }
 
-use Test::More;
+use Test::More qw(no_plan);
 
 BEGIN {
     plan skip_all => 'Only applicable on perl >= 5.8.9'
@@ -44,4 +44,4 @@
 
 Foo->bar();
 
-done_testing;
+#done_testing;
openSUSE Build Service is sponsored by