Lintian Fixes - jnr-constants

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/jnr-constants lintian-fixes

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2017-07-16 11:25:31 +0000
+++ b/debian/changelog	2020-05-25 10:16:20 +0000
@@ -1,3 +1,14 @@
+jnr-constants (0.9.9-3) UNRELEASED; urgency=low
+
+  * Use secure copyright file specification URI.
+  * Bump debhelper from old 10 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Update Vcs-* headers from URL redirect.
+  * Use canonical URL in Vcs-Git.
+  * Remove unnecessary get-orig-source-target.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 25 May 2020 10:13:08 -0000
+
 jnr-constants (0.9.9-2) unstable; urgency=medium
 
   * Upload to unstable.

=== removed file 'debian/compat'
--- a/debian/compat	2016-11-07 12:23:41 +0000
+++ b/debian/compat	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-10

=== modified file 'debian/control'
--- a/debian/control	2017-07-16 11:23:13 +0000
+++ b/debian/control	2020-05-25 10:15:44 +0000
@@ -7,7 +7,7 @@
            Jakub Adam <jakub.adam@ktknet.cz>,
            Miguel Landaeta <nomadium@debian.org>
 Build-Depends: bnd (>= 2.1.0),
-               debhelper (>= 10),
+               debhelper-compat (= 12),
                javahelper,
                junit4,
                libmaven-bundle-plugin-java,
@@ -16,8 +16,8 @@
                maven-debian-helper
 Standards-Version: 3.9.8
 Homepage: https://github.com/jnr/jnr-constants/
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/jnr-constants.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/jnr-constants.git
+Vcs-Git: https://salsa.debian.org/java-team/jnr-constants.git
+Vcs-Browser: https://salsa.debian.org/java-team/jnr-constants
 
 Package: libjnr-constants-java
 Architecture: all

=== modified file 'debian/copyright'
--- a/debian/copyright	2017-07-16 11:23:13 +0000
+++ b/debian/copyright	2020-05-25 10:13:23 +0000
@@ -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: jnr-constants
 Source: https://github.com/jnr/jnr-constants
 

=== modified file 'debian/rules'
--- a/debian/rules	2017-07-16 11:23:13 +0000
+++ b/debian/rules	2020-05-25 10:16:20 +0000
@@ -13,6 +13,3 @@
 	# generate OSGi metadata
 	bnd wrap --properties debian/jnr-constants.bnd --output $(JAR).tmp $(JAR)
 	mv $(JAR).tmp $(JAR)
-
-get-orig-source:
-	uscan --verbose --download-current-version

Run locally

Try this locally (using the lintian-brush package):

debcheckout jnr-constants
cd jnr-constants
lintian-brush --exclude=upstream-metadata-file

More details

Full run details