diff --git a/debian/changelog b/debian/changelog
index de8d5c0..ad6f4d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+lua-ldoc (1.4.6-2) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Use secure URI in Homepage field.
+  * Bump debhelper from old 9 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Update Vcs-* headers to use salsa repository.
+  * Drop unnecessary dh arguments: --parallel
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 11 Apr 2020 15:33:21 +0000
+
 lua-ldoc (1.4.6-1) unstable; urgency=medium
 
   * New upstream version: (Closes: #878667)
@@ -21,7 +35,7 @@ lua-ldoc (1.4.3-5+nmu1) unstable; urgency=medium
 
 lua-ldoc (1.4.3-5) unstable; urgency=medium
 
-  * Fix header used by lua-any adding 5.1 (Closes: #802248) 
+  * Fix header used by lua-any adding 5.1 (Closes: #802248)
 
  -- Enrico Tassi <gareuselesinge@debian.org>  Sun, 01 Nov 2015 10:14:43 +0100
 
@@ -41,7 +55,7 @@ lua-ldoc (1.4.3-3) unstable; urgency=medium
 
 lua-ldoc (1.4.3-2) unstable; urgency=medium
 
-  * Patch: close missing bracket in template file 
+  * Patch: close missing bracket in template file
 
  -- Enrico Tassi <gareuselesinge@debian.org>  Mon, 17 Aug 2015 14:40:09 +0200
 
@@ -61,7 +75,7 @@ lua-ldoc (1.4.2-1) unstable; urgency=medium
 
   * New upstream version.
     - Update manpage.
-  * Update debian/copyright with missing information. 
+  * Update debian/copyright with missing information.
   * Bump standards version (no changes needed).
 
  -- Julian Wollrath <jwollrath@web.de>  Thu, 23 Jan 2014 13:02:49 +0100
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index ec63514..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/debian/control b/debian/control
index c80c713..48aa337 100644
--- a/debian/control
+++ b/debian/control
@@ -3,16 +3,16 @@ Section: interpreters
 Priority: optional
 Maintainer: Julian Wollrath <jwollrath@web.de>
 Uploaders: Enrico Tassi <gareuselesinge@debian.org>
-Build-Depends: debhelper (>= 9),
+Build-Depends: debhelper-compat (= 12),
                dh-lua (>= 16),
                lua-discount,
                lua-filesystem,
                lua-penlight,
                txt2man
 Standards-Version: 3.9.8
-Vcs-Git: git://anonscm.debian.org/pkg-lua/lua-ldoc.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-lua/lua-ldoc.git
-Homepage: http://stevedonovan.github.com/ldoc/
+Vcs-Git: https://salsa.debian.org/lua-team/lua-ldoc.git
+Vcs-Browser: https://salsa.debian.org/lua-team/lua-ldoc
+Homepage: https://stevedonovan.github.com/ldoc/
 
 Package: lua-ldoc
 Architecture: all
diff --git a/debian/copyright b/debian/copyright
index 1ddad75..a099f6e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-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: LDoc
 Upstream-Contact: steve.j.donovan@gmail.com
 Source: https://github.com/stevedonovan/LDoc
diff --git a/debian/rules b/debian/rules
index b5cb08a..906733d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --buildsystem=lua --with lua --parallel
+	dh $@ --buildsystem=lua --with lua
 
 override_dh_auto_install:
 	dh_auto_install
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..545dbe0
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/stevedonovan/ldoc/issues
+Bug-Submit: https://github.com/stevedonovan/ldoc/issues/new
+Repository: https://github.com/stevedonovan/ldoc.git
+Repository-Browse: https://github.com/stevedonovan/ldoc