diff -Nru libnet-cups-perl-0.61/debian/changelog libnet-cups-perl-0.61/debian/changelog --- libnet-cups-perl-0.61/debian/changelog 2015-12-17 15:51:50.000000000 +0000 +++ libnet-cups-perl-0.61/debian/changelog 2015-12-26 03:51:32.000000000 +0000 @@ -1,20 +1,26 @@ -libnet-cups-perl (0.61-2build3) xenial; urgency=medium +libnet-cups-perl (0.61-3) unstable; urgency=medium - * Rebuild for Perl 5.22.1. + [ gregor herrmann ] + * Strip trailing slash from metacpan URLs. - -- Colin Watson Thu, 17 Dec 2015 15:51:50 +0000 + [ Salvatore Bonaccorso ] + * Update Vcs-Browser URL to cgit web frontend -libnet-cups-perl (0.61-2build2) utopic; urgency=medium + [ Axel Beckert ] + * debian/copyright: + + Replace link to www.dracken.com with last capture by the Wayback + Machine. Issue reported by DUCK. + + Expand author's initial to his first name. + + [ gregor herrmann ] + * Add patch from CPAN RT to fix broken CUPS version check in + Makefile.PL. (Closes: #809006) + * Update years of packaging copyright. + * Mark package as autopkgtest-able. + * Declare compliance with Debian Policy 3.9.6. + * Add a patch to fix a spelling mistake in the POD. - * Rebuild for Perl 5.20.0. - - -- Colin Watson Wed, 20 Aug 2014 12:39:55 +0100 - -libnet-cups-perl (0.61-2build1) trusty; urgency=low - - * Rebuild for Perl 5.18. - - -- Colin Watson Mon, 21 Oct 2013 10:24:29 +0100 + -- gregor herrmann Sat, 26 Dec 2015 04:51:04 +0100 libnet-cups-perl (0.61-2) unstable; urgency=low diff -Nru libnet-cups-perl-0.61/debian/control libnet-cups-perl-0.61/debian/control --- libnet-cups-perl-0.61/debian/control 2013-06-23 17:10:43.000000000 +0000 +++ libnet-cups-perl-0.61/debian/control 2015-12-26 03:51:32.000000000 +0000 @@ -6,16 +6,17 @@ Martín Ferrari , gregor herrmann Section: perl +Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: perl, debhelper (>= 9.20120312), libcups2-dev, libcupsfilters-dev, libcupsimage2-dev -Standards-Version: 3.9.4 -Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libnet-cups-perl.git +Standards-Version: 3.9.6 +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libnet-cups-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libnet-cups-perl.git -Homepage: https://metacpan.org/release/Net-CUPS/ +Homepage: https://metacpan.org/release/Net-CUPS Package: libnet-cups-perl Architecture: any @@ -28,4 +29,3 @@ Common Unix Printing System (CUPS). It supports retrieving information such as names of all configured printers, authenticating with username/password credentials, and various other utilities for manipulating the CUPS daemon. - diff -Nru libnet-cups-perl-0.61/debian/copyright libnet-cups-perl-0.61/debian/copyright --- libnet-cups-perl-0.61/debian/copyright 2013-06-23 17:10:43.000000000 +0000 +++ libnet-cups-perl-0.61/debian/copyright 2015-12-26 03:51:32.000000000 +0000 @@ -1,11 +1,12 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Net-CUPS -Upstream-Contact: D. Hageman -Source: https://metacpan.org/release/Net-CUPS/ +Upstream-Contact: David Hageman +Source: https://metacpan.org/release/Net-CUPS Files: * -Copyright: 2006-2009, Dracken Technology, Inc. (http://www.dracken.com/) - 2003-2005, D. Hageman +Copyright: 2006-2009, Dracken Technology, Inc. + (http://web.archive.org/web/20110129100932/http://www.dracken.com/) + 2003-2005, David Hageman License: Artistic or GPL-1+ Files: ppport.h @@ -16,7 +17,7 @@ Files: debian/* Copyright: 2007, Rene Mayorga - 2008-2013, gregor herrmann + 2008-2015, gregor herrmann 2009, Jonathan Yu License: Artistic or GPL-1+ diff -Nru libnet-cups-perl-0.61/debian/patches/cups-version-check.patch libnet-cups-perl-0.61/debian/patches/cups-version-check.patch --- libnet-cups-perl-0.61/debian/patches/cups-version-check.patch 1970-01-01 00:00:00.000000000 +0000 +++ libnet-cups-perl-0.61/debian/patches/cups-version-check.patch 2015-12-26 03:51:32.000000000 +0000 @@ -0,0 +1,29 @@ +Description: fix version check + This attached fix that nice but was tortured with a couple of version + combinations to see if it was correct about for released and future CUPS + versions. +Origin: CPAN RT#104237 +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=104237 +Bug-Debian: https://bugs.debian.org/809006 +Author: mathieu.simon@simweb.ch +Reviewed-by: gregor herrmann +Last-Update: 2015-12-26 + + +-- Mathieu + +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -31,8 +31,10 @@ + + my @version_parts = split( /\./, $version ); + +-if( ( $version_parts[1] < 2 ) || +- ( ( $version_parts[1] == 2 ) && ( $version_parts[2] < 2 ) ) ) ++if( ++ ( $version_parts[0] < 1 ) || ++ ( ( $version_parts[0] == 1 ) && ( $version_parts[1] < 2 ) ) || ++ ( ( $version_parts[0] == 1 ) && ( $version_parts[1] == 2 ) && ( $version_parts[2] < 2 ) ) ) + { + print "The version of the Common Unix Printing System installed\n"; + print "on your system is too old for this module to work properly.\n"; diff -Nru libnet-cups-perl-0.61/debian/patches/series libnet-cups-perl-0.61/debian/patches/series --- libnet-cups-perl-0.61/debian/patches/series 2013-06-23 17:10:43.000000000 +0000 +++ libnet-cups-perl-0.61/debian/patches/series 2015-12-26 03:51:32.000000000 +0000 @@ -1 +1,3 @@ cups16.patch +cups-version-check.patch +spelling.patch diff -Nru libnet-cups-perl-0.61/debian/patches/spelling.patch libnet-cups-perl-0.61/debian/patches/spelling.patch --- libnet-cups-perl-0.61/debian/patches/spelling.patch 1970-01-01 00:00:00.000000000 +0000 +++ libnet-cups-perl-0.61/debian/patches/spelling.patch 2015-12-26 03:51:32.000000000 +0000 @@ -0,0 +1,18 @@ +Description: fix a spelling mistake +Origin: vendor +Author: gregor herrmann +Last-Update: 2015-12-26 +Forwarded: https://rt.cpan.org/Ticket/Display.html?id=110618 +Bug: https://rt.cpan.org/Ticket/Display.html?id=110618 + +--- a/lib/Net/CUPS/Destination.pm ++++ b/lib/Net/CUPS/Destination.pm +@@ -1221,7 +1221,7 @@ + + my $error = $dest->getError(); + +-Utility method for returning the last error that occured. ++Utility method for returning the last error that occurred. + + =item B + diff -Nru libnet-cups-perl-0.61/debian/watch libnet-cups-perl-0.61/debian/watch --- libnet-cups-perl-0.61/debian/watch 2013-06-23 17:10:43.000000000 +0000 +++ libnet-cups-perl-0.61/debian/watch 2015-12-26 03:51:32.000000000 +0000 @@ -1,2 +1,2 @@ version=3 -https://metacpan.org/release/Net-CUPS/ .*/Net-CUPS-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) +https://metacpan.org/release/Net-CUPS .*/Net-CUPS-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)