[libmarc-lint-perl] 03/07: Drop 0001-Fix-test-failures-due-to-Business-ISBN-version-mess.patch.

gregor herrmann gregoa at debian.org
Sat Jan 23 00:48:46 UTC 2016


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

gregoa pushed a commit to branch master
in repository libmarc-lint-perl.

commit 0f4f2eda583bfbb948f52a01c5f91eb9d59f054e
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jan 23 01:35:18 2016 +0100

    Drop 0001-Fix-test-failures-due-to-Business-ISBN-version-mess.patch.
    
    Fixed upstream.
---
 ...ailures-due-to-Business-ISBN-version-mess.patch | 38 ----------------------
 debian/patches/series                              |  1 -
 2 files changed, 39 deletions(-)

diff --git a/debian/patches/0001-Fix-test-failures-due-to-Business-ISBN-version-mess.patch b/debian/patches/0001-Fix-test-failures-due-to-Business-ISBN-version-mess.patch
deleted file mode 100644
index 563e4e5..0000000
--- a/debian/patches/0001-Fix-test-failures-due-to-Business-ISBN-version-mess.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From b8ff6d68cecb3bc2ff0f3d7bf0eb2aad541e796a Mon Sep 17 00:00:00 2001
-From: Niko Tyni <ntyni at debian.org>
-Date: Sun, 27 Dec 2015 17:02:33 +0200
-Subject: [PATCH] Fix test failures due to Business::ISBN version mess
-
-Business::ISBN changed its version from 2.09 to 2.010,
-breaking the version comparisons in MARC::Lint.
-
-Bug-Debian: https://bugs.debian.org/809100
-Bug: https://rt.cpan.org/Public/Bug/Display.html?id=110568
----
- lib/MARC/Lint.pm | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/lib/MARC/Lint.pm b/lib/MARC/Lint.pm
-index d96e78b..c401622 100755
---- a/lib/MARC/Lint.pm
-+++ b/lib/MARC/Lint.pm
-@@ -319,14 +319,14 @@ sub check_020 {
-             else {
-                 if ((length ($isbnno) == 10)) {
- 
--                    if ($Business::ISBN::VERSION gt '2.02_01') {
-+                    if ($Business::ISBN::VERSION ge '2.010') {
-                         $self->warn( "020: Subfield a has bad checksum, $data." ) if (Business::ISBN::valid_isbn_checksum($isbnno) != 1); 
-                     } #if Business::ISBN version higher than 2.02_01
-                     elsif ($Business::ISBN::VERSION lt '2') {
-                         $self->warn( "020: Subfield a has bad checksum, $data." ) if (Business::ISBN::is_valid_checksum($isbnno) != 1); 
-                     } #elsif Business::ISBN version lower than 2
-                     else {
--                        $self->warn( "Business::ISBN version must be below 2 or above 2.02_02." );
-+                        $self->warn( "Business::ISBN version must be below 2 or at least 2.010." );
-                     } #else Business::ISBN version between 2 and 2.02_02
-                 } #if 10 digit ISBN has invalid check digit
-                 # do validation check for 13 digit isbn
--- 
-2.6.4
-
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 0fda545..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-Fix-test-failures-due-to-Business-ISBN-version-mess.patch

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



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