[SCM] Debian packaging of libbusiness-isbn-perl branch, master, updated. b3f547f6d5b3ce580d8e5a90b7451c64c69dd119

gregor herrmann gregoa at debian.org
Sat Feb 16 17:39:59 UTC 2013


The following commit has been merged in the master branch:
commit 8316fb44bedf760a3b688027a8648d915339c81f
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Feb 16 18:30:38 2013 +0100

    Add 2 upstream patches for compatibility with newer Business::ISBN::Data.
    
    Also make (build) dependency on libbusiness-isbn-data-perl versioned.
    
    Thanks: Dan Chen for forwarding the patches from Ubuntu.
    Closes: #699124

diff --git a/debian/control b/debian/control
index ccc39e0..8e01974 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Priority: optional
 Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: perl,
                      libwww-perl,
-                     libbusiness-isbn-data-perl,
+                     libbusiness-isbn-data-perl (>= 20120719.001),
                      libtest-pod-coverage-perl,
                      libtest-pod-perl,
                      libgd-barcode-perl
@@ -21,7 +21,7 @@ Package: libbusiness-isbn-perl
 Architecture: all
 Depends: ${perl:Depends},
          ${misc:Depends},
-         libbusiness-isbn-data-perl
+         libbusiness-isbn-data-perl (>= 20120719.001)
 Suggests: libgd-barcode-perl
 Description: Perl library to work with International Standard Book Numbers
  Business::ISBN allows one to easily extract useful information from ISBN such as
diff --git a/debian/patches/0001-Apply-upstream-changeset-5df3050432-to-fix-FTBFS-on-.patch b/debian/patches/0001-Apply-upstream-changeset-5df3050432-to-fix-FTBFS-on-.patch
new file mode 100644
index 0000000..09c4900
--- /dev/null
+++ b/debian/patches/0001-Apply-upstream-changeset-5df3050432-to-fix-FTBFS-on-.patch
@@ -0,0 +1,45 @@
+Origin: upstream, https://github.com/briandfoy/business--isbn/commit/5df30504329b1402c6aa31ebd7564a194ca0d88e
+Bug-Debian: http://bugs.debian.org/699124
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2013-02-16
+
+From b2e009580df422eaf57e01116f02a49d191a555b Mon Sep 17 00:00:00 2001
+From: Daniel T Chen <crimsun at ubuntu.com>
+Date: Sun, 27 Jan 2013 15:38:20 -0500
+Subject: [PATCH 1/2] Apply upstream changeset 5df3050432 to fix FTBFS on
+ Ubuntu Raring
+
+---
+ t/isbn10.t |    2 +-
+ t/isbn13.t |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/t/isbn10.t b/t/isbn10.t
+index 889d841..9107fb0 100644
+--- a/t/isbn10.t
++++ b/t/isbn10.t
+@@ -21,7 +21,7 @@ my $PUBLISHER          = "596";
+ 
+ my $BAD_CHECKSUM_ISBN  = "0596527244";
+ 
+-my $BAD_GROUP_ISBN     = "9997022576";
++my $BAD_GROUP_ISBN     = "9997122576";
+ 
+ my $BAD_PUBLISHER_ISBN = "9165022222"; # 91-650-22222-?  Sweden (stops at 649)
+ 
+diff --git a/t/isbn13.t b/t/isbn13.t
+index eea3f98..766d57f 100644
+--- a/t/isbn13.t
++++ b/t/isbn13.t
+@@ -24,7 +24,7 @@ my $CHECKSUM           = "2";
+ 
+ my $BAD_CHECKSUM_ISBN  = "9780596527244";
+ 
+-my $BAD_GROUP_ISBN     = "978-9997022576";
++my $BAD_GROUP_ISBN     = "978-9997122576";
+ 
+ my $BAD_PUBLISHER_ISBN = "978-9165022222"; # 91-650-22222-?  Sweden (stops at 649)
+ 
+-- 
+1.7.9.5
+
diff --git a/debian/patches/0002-Apply-upstream-changeset-a3a6f1d-for-strict-versione.patch b/debian/patches/0002-Apply-upstream-changeset-a3a6f1d-for-strict-versione.patch
new file mode 100644
index 0000000..8f7f7ca
--- /dev/null
+++ b/debian/patches/0002-Apply-upstream-changeset-a3a6f1d-for-strict-versione.patch
@@ -0,0 +1,35 @@
+Description: *** FIXME ***
+Origin: upstream, https://github.com/briandfoy/business--isbn/commit/a3a6f1dafa5fa74dacd5bdff28d472a80d7e99e3
+Bug-Debian: http://bugs.debian.org/699124
+Forwarded: *** FIXME ***
+Author: gregor herrmann <gregoa at debian.org>
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2013-02-16
+Applied-Upstream: *** FIXME ***
+
+From d2276d2946d71b035aacb1e228294bbce2ef0ce8 Mon Sep 17 00:00:00 2001
+From: Daniel T Chen <crimsun at ubuntu.com>
+Date: Sun, 27 Jan 2013 15:51:34 -0500
+Subject: [PATCH 2/2] Apply upstream changeset a3a6f1d for strict versioned
+ dep on Business::ISBN::Data
+
+---
+ lib/ISBN.pm |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/ISBN.pm b/lib/ISBN.pm
+index dce4a15..10f958b 100644
+--- a/lib/ISBN.pm
++++ b/lib/ISBN.pm
+@@ -72,7 +72,7 @@ use vars qw( $VERSION @ISA @EXPORT_OK %EXPORT_TAGS $debug %group_data
+ use Carp qw(carp croak cluck);
+ use base qw(Exporter);
+ 
+-use Business::ISBN::Data 20081208; # now a separate module
++use Business::ISBN::Data 20120719.001; # now a separate module
+ # ugh, hack
+ *group_data = *Business::ISBN::country_data;
+ sub _group_data { $group_data{ $_[1] } }
+-- 
+1.7.9.5
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bde485d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-Apply-upstream-changeset-5df3050432-to-fix-FTBFS-on-.patch
+0002-Apply-upstream-changeset-a3a6f1d-for-strict-versione.patch

-- 
Debian packaging of libbusiness-isbn-perl



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