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

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