Lintian Fixes - junit

Ready changes

Merge these changes:

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

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2017-10-24 22:03:48 +0000
+++ b/debian/changelog	2020-06-05 15:26:34 +0000
@@ -1,3 +1,15 @@
+junit (3.8.2-10) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Use secure URI in Homepage field.
+  * 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.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 05 Jun 2020 15:22:23 -0000
+
 junit (3.8.2-9) unstable; urgency=medium
 
   * Team upload.
@@ -37,15 +49,15 @@
 
 junit (3.8.2-5) experimental; urgency=low
 
-  * d/control: 
+  * d/control:
      - Bump up Standards-Version to 3.9.1 - no changes
      - remove Build-Depends on cdbs
      - add version constraint on maven-repo-helper
-  * d/rules: 
+  * d/rules:
      - calculate DEB_UPSTREAM_VERSION and UPSTREAM_VERSION, remove cdbs import
      - use dh --with maven_repo_helper
   * junit.poms: add --has-package-version option
-  * Deploy javadoc jar into the Maven repository 
+  * Deploy javadoc jar into the Maven repository
 
  -- Ludovic Claude <ludovic.claude@laposte.net>  Sat, 09 Oct 2010 21:38:25 +0200
 
@@ -80,7 +92,7 @@
   * Add a Build-Depends-Indep dependency on maven-repo-helper
   * debian/rules: added get-orig-pom target to run manually to download the
     latest Maven POM and add it to the debian directory.
-  * Fix some Lintian warnings: bump Standards-Version to 3.8.1, 
+  * Fix some Lintian warnings: bump Standards-Version to 3.8.1,
     cannot fix Copyright warning as no information
     was found in the source code or the web site about the copyright owners,
     and adding ${misc:Depends} causes FTBSF.
@@ -195,7 +207,7 @@
 
   * remove swing dependency and in main now (closes: #135276).
   * fixed type (cloese: #188959). This bug was closed since 3.8.1.
-  * javadoc is removed because gjdoc didn't work for me. 
+  * javadoc is removed because gjdoc didn't work for me.
     I'll fix it later.
 
  -- Takashi Okamoto <tora@debian.org>  Sat, 13 Sep 2003 09:08:32 +0900
@@ -227,7 +239,7 @@
 
 junit (3.7-6) unstable; urgency=low
 
-  * add j2sdk1.3, java-virtual-machine-dummy, java-virtual-machine 
+  * add j2sdk1.3, java-virtual-machine-dummy, java-virtual-machine
     at depends field.
 
  -- Takashi Okamoto <tora@debian.org>  Thu,  8 Aug 2002 08:06:18 +0900
@@ -241,7 +253,7 @@
 
 junit (3.7-4) unstable; urgency=low
 
-  * move README.html to junit-doc package. (Closes: #119180) 
+  * move README.html to junit-doc package. (Closes: #119180)
 
  -- Takashi Okamoto <tora@debian.org>  Mon, 12 Nov 2001 20:50:57 +0900
 

=== removed file 'debian/compat'
--- a/debian/compat	2017-10-24 21:51:53 +0000
+++ b/debian/compat	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-10

=== modified file 'debian/control'
--- a/debian/control	2017-10-24 22:01:45 +0000
+++ b/debian/control	2020-06-05 15:26:34 +0000
@@ -6,13 +6,13 @@
  Wolfgang Baer <WBaer@gmx.de>,
  Damien Raude-Morvan <drazzib@debian.org>
 Build-Depends:
- debhelper (>= 10),
+ debhelper-compat (= 12),
  default-jdk,
  maven-repo-helper (>= 1.5)
 Standards-Version: 4.1.1
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/junit.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/junit.git
-Homepage: http://www.junit.org
+Vcs-Git: https://salsa.debian.org/java-team/junit.git
+Vcs-Browser: https://salsa.debian.org/java-team/junit
+Homepage: https://www.junit.org
 
 Package: junit
 Architecture: all

=== modified file 'debian/copyright'
--- a/debian/copyright	2017-10-24 22:01:49 +0000
+++ b/debian/copyright	2020-06-05 15:23:21 +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: JUnit Testing Framework
 Source: http://sourceforge.net/projects/junit/files/junit/
 

=== modified file 'debian/rules'
--- a/debian/rules	2017-10-24 22:01:45 +0000
+++ b/debian/rules	2020-06-05 15:22:41 +0000
@@ -43,5 +43,3 @@
 
 get-orig-source:
 	-uscan --download-version ${DEB_UPSTREAM_VERSION} --force-download --rename
-
-

Debdiff

Debdiff is too long (more than 200 lines). Download the raw debdiff.

Run locally

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

debcheckout junit
cd junit
lintian-brush --exclude=upstream-metadata-file

More details

Full run details