[libdata-objectdriver-perl] 03/06: Drop test-sqlite-3.10.patch, merged upstream.

gregor herrmann gregoa at debian.org
Thu Jan 14 17:03:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libdata-objectdriver-perl.

commit 62dfeba078cf0ddaf8ce080899df93ad6d943b5a
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Jan 14 17:51:34 2016 +0100

    Drop test-sqlite-3.10.patch, merged upstream.
---
 debian/patches/series                 |  1 -
 debian/patches/test-sqlite-3.10.patch | 29 -----------------------------
 2 files changed, 30 deletions(-)

diff --git a/debian/patches/series b/debian/patches/series
index 2901b56..2cd8e6f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
 spelling.patch
 pod.patch
-test-sqlite-3.10.patch
diff --git a/debian/patches/test-sqlite-3.10.patch b/debian/patches/test-sqlite-3.10.patch
deleted file mode 100644
index 6e3a612..0000000
--- a/debian/patches/test-sqlite-3.10.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Description: Fix testsuite for sqlite 3.10 compatibility.
- 3.10 > 3.5 fails, so let's use version.pm;
- there might be more elegant options ...
-Origin: vendor
-Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810710
-Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2016-01-13
-Forwarded: https://github.com/sixapart/data-objectdriver/issues/21
-Bug: https://github.com/sixapart/data-objectdriver/issues/21
-
---- a/t/02-basic.t
-+++ b/t/02-basic.t
-@@ -9,6 +9,7 @@
- 
- use Test::More;
- use Test::Exception;
-+use version;
- 
- BEGIN {
-     unless (eval { require DBD::SQLite }) {
-@@ -244,7 +245,7 @@
-     # note sqlite is stupid and doesn't return the number of affected rows
-     # quick hack because I can't rely on version.pm to be installed everywhere
-     my ($sqlite_version) = Wine->driver->rw_handle->{sqlite_version} =~ /(\d+(?:\.\d+))/;
--    my $count = $sqlite_version > 3.5 ? scalar @bad_wines : "0E0";
-+    my $count = version->parse("v$sqlite_version") > version->parse("v3.5") ? scalar @bad_wines : "0E0";
-     is (Wine->remove({}, { nofetch => 1 }), $count, 'removing all bad wine');
- }
- 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdata-objectdriver-perl.git



More information about the Pkg-perl-cvs-commits mailing list