--- libbusiness-isbn-perl-2.05.orig/lib/ISBN.pm +++ libbusiness-isbn-perl-2.05/lib/ISBN.pm @@ -72,7 +72,7 @@ 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] } } --- libbusiness-isbn-perl-2.05.orig/debian/rules +++ libbusiness-isbn-perl-2.05/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +build: build-stamp +build-stamp: + dh build + touch $@ + +clean: + dh $@ + +install: install-stamp +install-stamp: build-stamp + dh install + touch $@ + +binary-arch: + +binary-indep: install + dh $@ + +binary: binary-arch binary-indep + +.PHONY: binary binary-arch binary-indep install clean build --- libbusiness-isbn-perl-2.05.orig/debian/compat +++ libbusiness-isbn-perl-2.05/debian/compat @@ -0,0 +1 @@ +7 --- libbusiness-isbn-perl-2.05.orig/debian/copyright +++ libbusiness-isbn-perl-2.05/debian/copyright @@ -0,0 +1,30 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: brian d foy +Upstream-Source: http://search.cpan.org/dist/Business-ISBN/ +Upstream-Name: Business-ISBN + +Files: * +Copyright: 2001-2009, brian d foy +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: + 2007, Vincent Danjean + 2007-2008, gregor herrmann +License: Artistic | GPL-1+ + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + On Debian GNU/Linux systems, the complete text of the Artistic License + can be found in /usr/share/common-licenses/Artistic + +License: GPL-1+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 1, or (at your option) + any later version. + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' --- libbusiness-isbn-perl-2.05.orig/debian/control +++ libbusiness-isbn-perl-2.05/debian/control @@ -0,0 +1,25 @@ +Source: libbusiness-isbn-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7) +Build-Depends-Indep: perl (>= 5.8.8-7), libwww-perl, + libbusiness-isbn-data-perl (>= 20120719.001), + libtest-pod-coverage-perl, libtest-pod-perl, libgd-barcode-perl +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Perl Group +Uploaders: Vincent Danjean , + gregor herrmann , Rene Mayorga +Standards-Version: 3.8.0 +Homepage: http://sourceforge.net/projects/perl-isbn/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libbusiness-isbn-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libbusiness-isbn-perl/ + +Package: libbusiness-isbn-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, + libbusiness-isbn-data-perl (>= 20120719.001) +Suggests: libgd-barcode-perl +Description: Perl library to work with International Standard Book Numbers + Business::ISBN allows to easily extract useful information from ISBN such as + country code, publisher code, ... It allows to check the checksum and/or + correct it. --- libbusiness-isbn-perl-2.05.orig/debian/watch +++ libbusiness-isbn-perl-2.05/debian/watch @@ -0,0 +1,4 @@ +# format version number, currently 2; this line is compulsory! +version=3 +opts=uversionmangle=s/_/./ \ + http://search.cpan.org/dist/Business-ISBN/ .*/Business-ISBN-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libbusiness-isbn-perl-2.05.orig/debian/changelog +++ libbusiness-isbn-perl-2.05/debian/changelog @@ -0,0 +1,79 @@ +libbusiness-isbn-perl (2.05-1ubuntu1) raring; urgency=low + + * Fix FTBFS by updating tests to accept Haiti as a valid group code + (patch taken from upstream). + + -- Daniel T Chen Sun, 27 Jan 2013 15:55:17 -0500 + +libbusiness-isbn-perl (2.05-1) unstable; urgency=low + + * New upstream release + * debian/control: + + bump versioned `Depends' and B-D-I for libbusiness-isbn-data-perl + + add myself to uploaders + * debian/copyright: update upstream copyright year + + -- Rene Mayorga Mon, 26 Jan 2009 14:38:17 -0600 + +libbusiness-isbn-perl (2.04.01-1) unstable; urgency=low + + [ Jose Luis Rivas ] + * New upstream release. + + [ gregor herrmann ] + * Set Standards-Version to 3.8.0 (no changes). + * debian/watch: remove call to uupdate. + * debian/control: + - switch Vcs-Browser field to ViewSVN + - bump (build) dependency on libbusiness-isbn-data-perl to >= 20081020 + - change my email address + - mention module name in short description + * Set debhelper compatibility level to 7; adapt + debian/{control,compat,rules}; drop cdbs. + * debian/copyright: refresh formatting. + + -- gregor herrmann Sun, 23 Nov 2008 16:04:28 +0100 + +libbusiness-isbn-perl (2.03.01-1) unstable; urgency=low + + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: + Homepage pseudo-field (Description); XS-Vcs-Svn fields; remove -1 + revision from versioned dependency on cdbs; add libgd-barcode-perl to + build dependencies and to Suggests. + * debian/rules: delete /usr/lib/perl5 only if it exists (closes: #467697). + * debian/watch: use dist-based URL. + * New upstream release. + * Set Standards-Version to 3.7.3 (no changes). + * Set debhelper compatibility level to 6. + * Remove empty debian/patches directory and corresponding build + dependencies. + * debian/copyright: add upstream source location, convert to new format. + + -- gregor herrmann Sat, 01 Mar 2008 23:59:19 +0100 + +libbusiness-isbn-perl (2.03-1) unstable; urgency=low + + * New upstream release. + * Bump (build) dependency on libbusiness-isbn-data-perl to (>= 1.15). + * Remove empty /usr/lib/perl5 directory from binary package. + + -- gregor herrmann Thu, 04 Oct 2007 18:11:21 +0200 + +libbusiness-isbn-perl (2.02-1) unstable; urgency=low + + * New upstream release. + * Remove fix_manpage_section.patch, not needed anymore. + * Move lib*-perl from Build-Depends to Build-Depends-Indep. + * Add libwww-perl to Build-Depends-Indep (used in tests). + + -- gregor herrmann Sun, 26 Aug 2007 23:50:55 +0200 + +libbusiness-isbn-perl (1.84-1) unstable; urgency=low + + * Initial release. (Closes: #408058: ITP: libbusiness-isbn-perl -- + Perl library to work with International Standard Book Numbers - + Debian Bug report logs) + + -- Vincent Danjean Wed, 24 Jan 2007 16:23:53 +0100 + --- libbusiness-isbn-perl-2.05.orig/t/isbn13.t +++ libbusiness-isbn-perl-2.05/t/isbn13.t @@ -24,7 +24,7 @@ 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) --- libbusiness-isbn-perl-2.05.orig/t/isbn10.t +++ libbusiness-isbn-perl-2.05/t/isbn10.t @@ -21,7 +21,7 @@ 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)