diff -Nru libhtml-rewriteattributes-perl-0.05/debian/changelog libhtml-rewriteattributes-perl-0.05/debian/changelog
--- libhtml-rewriteattributes-perl-0.05/debian/changelog 2012-12-08 19:25:03.000000000 +0000
+++ libhtml-rewriteattributes-perl-0.05/debian/changelog 2018-08-27 13:11:31.000000000 +0000
@@ -1,3 +1,32 @@
+libhtml-rewriteattributes-perl (0.05-2) unstable; urgency=low
+
+ [ Salvatore Bonaccorso ]
+ * Change Vcs-Git to canonical URI (git://anonscm.debian.org)
+ * Change search.cpan.org based URIs to metacpan.org based URIs
+
+ [ gregor herrmann ]
+ * Strip trailing slash from metacpan URLs.
+
+ [ Salvatore Bonaccorso ]
+ * Update Vcs-Browser URL to cgit web frontend
+ * debian/control: Use HTTPS transport protocol for Vcs-Git URI
+
+ [ gregor herrmann ]
+ * debian/copyright: change Copyright-Format 1.0 URL to HTTPS.
+
+ [ Salvatore Bonaccorso ]
+ * Update Vcs-* headers for switch to salsa.debian.org
+
+ [ Xavier Guimard ]
+ * Add upstream/metadata
+ * Declare compliance with policy 4.2.1
+ * Enable autopkgtest
+ * Bump debhelper compat to 10
+ * Add spelling-errors.patch (reported)
+ * Add remove-useless-interpreter.patch
+
+ -- Xavier Guimard Mon, 27 Aug 2018 15:11:31 +0200
+
libhtml-rewriteattributes-perl (0.05-1) unstable; urgency=low
[ Ansgar Burchardt ]
diff -Nru libhtml-rewriteattributes-perl-0.05/debian/compat libhtml-rewriteattributes-perl-0.05/debian/compat
--- libhtml-rewriteattributes-perl-0.05/debian/compat 2012-12-08 19:25:03.000000000 +0000
+++ libhtml-rewriteattributes-perl-0.05/debian/compat 2018-08-27 13:11:31.000000000 +0000
@@ -1 +1 @@
-8
+10
diff -Nru libhtml-rewriteattributes-perl-0.05/debian/control libhtml-rewriteattributes-perl-0.05/debian/control
--- libhtml-rewriteattributes-perl-0.05/debian/control 2012-12-08 19:25:03.000000000 +0000
+++ libhtml-rewriteattributes-perl-0.05/debian/control 2018-08-27 13:11:31.000000000 +0000
@@ -4,16 +4,17 @@
Ansgar Burchardt ,
Xavier Guimard
Section: perl
+Testsuite: autopkgtest-pkg-perl
Priority: optional
-Build-Depends: debhelper (>= 8)
+Build-Depends: debhelper (>= 10)
Build-Depends-Indep: libhtml-parser-perl,
libhtml-tagset-perl,
liburi-perl,
perl
-Standards-Version: 3.9.4
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libhtml-rewriteattributes-perl.git
-Vcs-Git: git://git.debian.org/pkg-perl/packages/libhtml-rewriteattributes-perl.git
-Homepage: http://search.cpan.org/dist/HTML-RewriteAttributes/
+Standards-Version: 4.2.1
+Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libhtml-rewriteattributes-perl
+Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libhtml-rewriteattributes-perl.git
+Homepage: https://metacpan.org/release/HTML-RewriteAttributes
Package: libhtml-rewriteattributes-perl
Architecture: all
@@ -26,4 +27,3 @@
HTML::RewriteAttributes is designed for simple yet powerful HTML attribute
rewriting. It runs a given callback function, potentially many times,
for each attribute encountered.
-
diff -Nru libhtml-rewriteattributes-perl-0.05/debian/copyright libhtml-rewriteattributes-perl-0.05/debian/copyright
--- libhtml-rewriteattributes-perl-0.05/debian/copyright 2012-12-08 19:25:03.000000000 +0000
+++ libhtml-rewriteattributes-perl-0.05/debian/copyright 2018-08-27 13:11:31.000000000 +0000
@@ -1,7 +1,7 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: HTML-RewriteAttributes
Upstream-Contact: Thomas Sibley
-Source: http://search.cpan.org/dist/HTML-RewriteAttributes/
+Source: https://metacpan.org/release/HTML-RewriteAttributes
Files: *
Copyright: 2008-2010, Best Practical Solutions, LLC.
@@ -34,4 +34,3 @@
.
On Debian systems, the complete text of version 1 of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-1'.
-
diff -Nru libhtml-rewriteattributes-perl-0.05/debian/patches/remove-useless-interpreter.patch libhtml-rewriteattributes-perl-0.05/debian/patches/remove-useless-interpreter.patch
--- libhtml-rewriteattributes-perl-0.05/debian/patches/remove-useless-interpreter.patch 1970-01-01 00:00:00.000000000 +0000
+++ libhtml-rewriteattributes-perl-0.05/debian/patches/remove-useless-interpreter.patch 2018-08-27 13:11:31.000000000 +0000
@@ -0,0 +1,27 @@
+Description: remove useless interpreter
+ Just to avoid Lintian warning
+Author: Xavier Guimard
+Forwarded: not-needed
+Last-Update: 2018-08-27
+
+--- a/lib/HTML/RewriteAttributes.pm
++++ b/lib/HTML/RewriteAttributes.pm
+@@ -1,4 +1,3 @@
+-#!/usr/bin/env perl
+ package HTML::RewriteAttributes;
+ use strict;
+ use warnings;
+--- a/lib/HTML/RewriteAttributes/Links.pm
++++ b/lib/HTML/RewriteAttributes/Links.pm
+@@ -1,4 +1,3 @@
+-#!/usr/bin/env perl
+ package HTML::RewriteAttributes::Links;
+ use strict;
+ use warnings;
+--- a/lib/HTML/RewriteAttributes/Resources.pm
++++ b/lib/HTML/RewriteAttributes/Resources.pm
+@@ -1,4 +1,3 @@
+-#!/usr/bin/env perl
+ package HTML::RewriteAttributes::Resources;
+ use strict;
+ use warnings;
diff -Nru libhtml-rewriteattributes-perl-0.05/debian/patches/series libhtml-rewriteattributes-perl-0.05/debian/patches/series
--- libhtml-rewriteattributes-perl-0.05/debian/patches/series 1970-01-01 00:00:00.000000000 +0000
+++ libhtml-rewriteattributes-perl-0.05/debian/patches/series 2018-08-27 13:11:31.000000000 +0000
@@ -0,0 +1,2 @@
+spelling-errors.patch
+remove-useless-interpreter.patch
diff -Nru libhtml-rewriteattributes-perl-0.05/debian/patches/spelling-errors.patch libhtml-rewriteattributes-perl-0.05/debian/patches/spelling-errors.patch
--- libhtml-rewriteattributes-perl-0.05/debian/patches/spelling-errors.patch 1970-01-01 00:00:00.000000000 +0000
+++ libhtml-rewriteattributes-perl-0.05/debian/patches/spelling-errors.patch 2018-08-27 13:11:31.000000000 +0000
@@ -0,0 +1,16 @@
+Description: spelling error
+Author: Xavier Guimard
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=126964
+Last-Update: 2018-08-27
+
+--- a/lib/HTML/RewriteAttributes.pm
++++ b/lib/HTML/RewriteAttributes.pm
+@@ -142,7 +142,7 @@
+ for you.
+
+ This module is designed to be subclassable to make handling special cases
+-eaiser. See the source for methods you can override.
++easier. See the source for methods you can override.
+
+ =head1 METHODS
+
diff -Nru libhtml-rewriteattributes-perl-0.05/debian/upstream/metadata libhtml-rewriteattributes-perl-0.05/debian/upstream/metadata
--- libhtml-rewriteattributes-perl-0.05/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000
+++ libhtml-rewriteattributes-perl-0.05/debian/upstream/metadata 2018-08-27 13:11:31.000000000 +0000
@@ -0,0 +1,4 @@
+---
+Archive: CPAN
+Contact: Thomas Sibley
+Name: HTML-RewriteAttributes
diff -Nru libhtml-rewriteattributes-perl-0.05/debian/watch libhtml-rewriteattributes-perl-0.05/debian/watch
--- libhtml-rewriteattributes-perl-0.05/debian/watch 2012-12-08 19:25:03.000000000 +0000
+++ libhtml-rewriteattributes-perl-0.05/debian/watch 2018-08-27 13:11:31.000000000 +0000
@@ -1,4 +1,2 @@
-# format version number, currently 3; this line is compulsory!
version=3
-# URL to the package page followed by a regex to search
-http://search.cpan.org/dist/HTML-RewriteAttributes/ .*/HTML-RewriteAttributes-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
+https://metacpan.org/release/HTML-RewriteAttributes .*/HTML-RewriteAttributes-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$