Lintian Fixes - plexus-velocity

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 2c54928..5ed5ab1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,18 @@
+plexus-velocity (1.2-4) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Update watch file format version to 4.
+  * Bump debhelper from old 10 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Update Vcs-* headers from URL redirect.
+  * Use canonical URL in Vcs-Git.
+  * Remove unnecessary get-orig-source-target.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 15 May 2021 15:12:57 -0000
+
 plexus-velocity (1.2-3) unstable; urgency=medium
 
   * Added the missing build dependency on junit4 (Closes: #869646)
@@ -84,7 +99,7 @@ plexus-velocity (1.1.7-1) experimental; urgency=low
   * Add libcommons-collections-java, libplexus-containers-java, velocity
     to Depends: for the binary package
 
-  [ Michael Koch ] 
+  [ Michael Koch ]
   * Added watch file.
   * Added myself to Uploaders.
   * Added Homepage, Vcs-Svn and Vcs-Browser fields.
@@ -96,4 +111,3 @@ plexus-velocity (1.1.6-1) unstable; urgency=low
   * Initial release. (Closes: #426227)
 
  -- Paul Cager <paul-debian@home.paulcager.org>  Tue, 12 Jun 2007 23:57:35 +0100
-
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index d679b49..efc9440 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
  Ludovic Claude <ludovic.claude@laposte.net>,
  Emmanuel Bourg <ebourg@apache.org>
 Build-Depends:
- debhelper (>= 10),
+ debhelper-compat (= 12),
  default-jdk,
  maven-debian-helper (>= 2.0)
 Build-Depends-Indep:
@@ -17,8 +17,8 @@ Build-Depends-Indep:
  libmaven-javadoc-plugin-java,
  libplexus-container-default1.5-java
 Standards-Version: 4.0.0
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/plexus-velocity.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/plexus-velocity.git
+Vcs-Git: https://salsa.debian.org/java-team/plexus-velocity.git
+Vcs-Browser: https://salsa.debian.org/java-team/plexus-velocity
 Homepage: https://codehaus-plexus.github.io/plexus-velocity/
 
 Package: libplexus-velocity-java
diff --git a/debian/copyright b/debian/copyright
index 027bc8d..6708774 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: Plexus Velocity Component
 Source: https://github.com/codehaus-plexus/plexus-velocity
 
diff --git a/debian/rules b/debian/rules
index 1a38d46..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,3 @@
 
 %:
 	dh $@
-
-get-orig-source:
-	uscan --download-current-version --force-download --rename --repack --compression xz
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..1410b55
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: http://github.com/codehaus-plexus/plexus-velocity/issues
+Bug-Submit: https://github.com/codehaus-plexus/plexus-velocity/issues/new
+Repository: https://github.com/codehaus-plexus/plexus-velocity.git
+Repository-Browse: http://github.com/codehaus-plexus/plexus-velocity
diff --git a/debian/watch b/debian/watch
index bc31a06..a4dcc53 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
+version=4
 https://github.com/codehaus-plexus/plexus-velocity/tags .*/plexus-velocity-([\d\.]+).tar.gz

Run locally

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

debcheckout plexus-velocity
cd plexus-velocity
lintian-brush

More details

Full run details