Lintian Fixes - libjgroups-java

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 9bc4bb1..015ab3d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+libjgroups-java (2.12.2.Final-6) UNRELEASED; urgency=medium
+
+  * Use secure copyright file specification URI.
+  * Use secure URI in debian/watch.
+  * Bump debhelper from old 10 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Archive, Bug-Database, Repository.
+  * 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 14:56:22 -0000
+
 libjgroups-java (2.12.2.Final-5) unstable; urgency=medium
 
   * Applied Chris Lamb's patch to make the build reproducible (Closes: #862183)
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 0ea1d06..797078d 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Uploaders:
  Emmanuel Bourg <ebourg@apache.org>
 Build-Depends:
  bsh,
- debhelper (>= 10),
+ debhelper-compat (= 12),
  default-jdk,
  junit,
  libcommons-logging-java,
@@ -21,8 +21,8 @@ Build-Depends:
  testng
 Standards-Version: 4.1.1
 Homepage: http://www.jgroups.org/javagroupsnew/docs/index.html
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/libjgroups-java.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/libjgroups-java.git
+Vcs-Git: https://salsa.debian.org/java-team/libjgroups-java.git
+Vcs-Browser: https://salsa.debian.org/java-team/libjgroups-java
 
 Package: libjgroups-java
 Architecture: all
diff --git a/debian/copyright b/debian/copyright
index 294cb1d..aa07876 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: JGroups
 Upstream-Contact: Bela Ban <bela@yahoo.com>
 Source: http://www.jgroups.org
diff --git a/debian/rules b/debian/rules
index c44488e..ec38b7c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,3 @@
 
 %:
 	dh $@ --buildsystem=maven
-
-get-orig-source:
-	uscan --debug --download-curent-version --force-download --rename
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..ad0fadc
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Archive: SourceForge
+Bug-Database: https://jira.jboss.com/jira/browse/JGRP
+Repository: https://git.code.sf.net/p/javagroups/code-0
diff --git a/debian/watch b/debian/watch
index 1accfeb..4cb253b 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
-http://sf.net/javagroups/ (?:JGroups|jgroups)-([\d.]*)\.(?:Final|GA)(?:\.src)?\.(?:zip|jar) \
+https://sf.net/javagroups/ (?:JGroups|jgroups)-([\d.]*)\.(?:Final|GA)(?:\.src)?\.(?:zip|jar) \
   debian debian/orig-tar.sh

Failed fixers:

See the worker log for details.

Run locally

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

debcheckout libjgroups-java
cd libjgroups-java
lintian-brush

More details

Full run details