Lintian Fixes - java-comment-preprocessor

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/java-comment-preprocessor lintian-fixes

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2016-10-21 19:29:45 +0000
+++ b/debian/changelog	2020-06-07 11:23:43 +0000
@@ -1,3 +1,16 @@
+java-comment-preprocessor (6.0.1-2) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Bump debhelper from deprecated 9 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Update Vcs-* headers from URL redirect.
+  * Use canonical URL in Vcs-Git.
+  * Drop unnecessary dh arguments: --parallel
+  * Remove unnecessary get-orig-source-target.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sun, 07 Jun 2020 11:19:00 -0000
+
 java-comment-preprocessor (6.0.1-1) unstable; urgency=medium
 
   [ tony mancill ]

=== removed file 'debian/compat'
--- a/debian/compat	2014-08-05 13:40:10 +0000
+++ b/debian/compat	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-9

=== modified file 'debian/control'
--- a/debian/control	2016-10-13 11:28:36 +0000
+++ b/debian/control	2020-06-07 11:22:27 +0000
@@ -3,14 +3,14 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
 Uploaders: Eugene Zhukov <eugene@debian.org>
-Build-Depends: debhelper (>= 10),
+Build-Depends: debhelper-compat (= 12),
  maven-debian-helper,
  ant,
  libmaven-plugin-tools-java,
  libmaven-file-management-java
 Standards-Version: 3.9.8
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/comment-preprocessor
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/comment-preprocessor
+Vcs-Git: https://salsa.debian.org/java-team/comment-preprocessor.git
+Vcs-Browser: https://salsa.debian.org/java-team/comment-preprocessor
 Homepage: https://github.com/raydac/java-comment-preprocessor
 
 Package: libcomment-preprocessor-java
@@ -20,4 +20,3 @@
 Description: Java Comment Preprocessor
  A Multi-pass java based preprocessor processing directives placed into
  Java comments
-

=== modified file 'debian/copyright'
--- a/debian/copyright	2014-08-05 13:40:10 +0000
+++ b/debian/copyright	2020-06-07 11:19:54 +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: Java Comment Preprocessor
 Source: http://java-comment-preprocessor.googlecode.com/
 

=== modified file 'debian/rules'
--- a/debian/rules	2016-10-13 10:37:46 +0000
+++ b/debian/rules	2020-06-07 11:23:43 +0000
@@ -1,7 +1,4 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --parallel --buildsystem=maven
-
-get-orig-source:
-	uscan --download-current-version --rename
+	dh $@ --buildsystem=maven

Run locally

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

debcheckout java-comment-preprocessor
cd java-comment-preprocessor
lintian-brush --exclude=upstream-metadata-file

More details

Full run details