Blame SOURCES/DBD-SQLite-1.58-Unbundle-Test-NoWarnings.patch

a004c3
From 1944bbf4f29181690097e61f1410d30d43343b02 Mon Sep 17 00:00:00 2001
a004c3
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
a004c3
Date: Thu, 29 Mar 2018 10:40:17 +0200
a004c3
Subject: [PATCH] Unbundle Test::NoWarnings
a004c3
MIME-Version: 1.0
a004c3
Content-Type: text/plain; charset=UTF-8
a004c3
Content-Transfer-Encoding: 8bit
a004c3
a004c3
Signed-off-by: Petr Písař <ppisar@redhat.com>
a004c3
---
a004c3
 Makefile.PL                               |   6 ++----
a004c3
 t/virtual_table/11_filecontent_fulltext.t |   7 ++-----
a004c3
a004c3
diff --git a/Makefile.PL b/Makefile.PL
a004c3
index fcdf771..3860eda 100644
a004c3
--- a/Makefile.PL
a004c3
+++ b/Makefile.PL
a004c3
@@ -330,8 +330,7 @@ WriteMakefile(
a004c3
 		'Tie::Hash'     => 0,
a004c3
 		'File::Spec'    => (WINLIKE ? '3.27' : '0.82'),
a004c3
 		'DBI'           => $DBI_required,
a004c3
-		'Test::More'    => '0.47', # Test::NoWarnings
a004c3
-		'Test::Builder' => '0.86', # Test::NoWarnings
a004c3
+		'Test::More'    => 0,
a004c3
 		( WINLIKE ? (
a004c3
 			'Win32' => '0.30',
a004c3
 		) : () ),
a004c3
@@ -363,8 +362,7 @@ WriteMakefile(
a004c3
 			build_requires => {
a004c3
 				'File::Spec'          => (WINLIKE ? '3.27' : '0.82'),
a004c3
 				'Test::More'          => '0.42',
a004c3
-				# Bundled in /inc
a004c3
-				# 'Test::NoWarnings'  => '0.081',
a004c3
+				'Test::NoWarnings'  => '0.081',
a004c3
 			},
a004c3
 			requires => {
a004c3
 				'Tie::Hash' => 0,
a004c3
diff --git a/t/virtual_table/11_filecontent_fulltext.t b/t/virtual_table/11_filecontent_fulltext.t
a004c3
index b95b115..7e805f1 100644
a004c3
--- a/t/virtual_table/11_filecontent_fulltext.t
a004c3
+++ b/t/virtual_table/11_filecontent_fulltext.t
a004c3
@@ -27,9 +27,7 @@ my @tests = (
a004c3
                           lib/DBD/SQLite/VirtualTable/FileContent.pm
a004c3
                           lib/DBD/SQLite/VirtualTable/PerlData.pm]],
a004c3
   ["install_method" => qw[lib/DBD/SQLite.pm]],
a004c3
-  ['"use strict"'   => qw[inc/Test/NoWarnings.pm
a004c3
-                          inc/Test/NoWarnings/Warning.pm
a004c3
-                          lib/DBD/SQLite.pm
a004c3
+  ['"use strict"'   => qw[lib/DBD/SQLite.pm
a004c3
                           lib/DBD/SQLite/Constants.pm
a004c3
                           lib/DBD/SQLite/VirtualTable.pm
a004c3
                           lib/DBD/SQLite/VirtualTable/FileContent.pm
a004c3
@@ -42,8 +40,7 @@ my @tests = (
a004c3
 # literally.
a004c3
 if (grep /ENABLE_FTS3_PARENTHESIS/, DBD::SQLite::compile_options()) {
a004c3
   push @tests, (
a004c3
-  ['"use strict" AND "use warnings"' => qw[inc/Test/NoWarnings.pm
a004c3
-                                           lib/DBD/SQLite/Constants.pm
a004c3
+  ['"use strict" AND "use warnings"' => qw[lib/DBD/SQLite/Constants.pm
a004c3
                                            lib/DBD/SQLite/VirtualTable.pm
a004c3
                                            lib/DBD/SQLite/VirtualTable/FileContent.pm
a004c3
                                            lib/DBD/SQLite/VirtualTable/PerlData.pm
a004c3
-- 
a004c3
2.14.3
a004c3