diff --git a/debian/changelog b/debian/changelog
index 118a9db..9138b43 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,20 @@
joptsimple (5.0.4-5) UNRELEASED; urgency=medium
+ [ Samuel Thibault ]
* control: Update alioth list domain.
* Bump debhelper from 10 to 12.
* control: Set Rules-Requires-Root to no.
* control: Bump Standards-Version to 4.6.0 (no change)
+ [ Debian Janitor ]
+ * Trim trailing whitespace.
+ * Use secure copyright file specification URI.
+ * Update watch file format version to 4.
+ * Bump debhelper from old 12 to 13.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+ Repository-Browse.
+ * Remove unnecessary get-orig-source-target.
+
-- Samuel Thibault <sthibault@debian.org> Fri, 24 Jul 2020 13:09:31 +0200
joptsimple (5.0.4-4) unstable; urgency=medium
@@ -83,7 +93,7 @@ joptsimple (4.5-1) unstable; urgency=low
* Use canonical URLs for the Vcs-* fields.
[ Stephen Nelson ]
- * New upstream version.
+ * New upstream version.
* Depend on cdbs.
* Updated copyright to machine readable format.
* Build with Maven.
diff --git a/debian/control b/debian/control
index 858c4bf..89ca7c0 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Uploaders:
Steffen Moeller <moeller@debian.org>
Build-Depends:
ant,
- debhelper-compat (= 12),
+ debhelper-compat (= 13),
default-jdk,
junit4 (>= 4.12),
libhamcrest-java,
diff --git a/debian/copyright b/debian/copyright
index 0de7641..3175ff8 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: JOpt Simple
Upstream-Contact: Paul R. Holser, Jr. <pholser@alumni.rice.edu>
Source: https://github.com/jopt-simple/jopt-simple
diff --git a/debian/rules b/debian/rules
index 091a08c..77e8a74 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,3 @@ override_dh_auto_build:
dh_auto_build
# Does not work anyway
rm -fr target/apidocs/jquery
-
-get-orig-source:
- uscan --download-current-version --force-download --no-symlink
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..b383897
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/jopt-simple/jopt-simple/issues
+Bug-Submit: https://github.com/jopt-simple/jopt-simple/issues/new
+Repository: https://github.com/jopt-simple/jopt-simple.git
+Repository-Browse: https://github.com/jopt-simple/jopt-simple
diff --git a/debian/watch b/debian/watch
index beefdf3..7d48ca0 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
https://github.com/jopt-simple/jopt-simple/tags .*/(?:.*?)@ANY_VERSION@@ARCHIVE_EXT@