Lintian Fixes - libcommons-net-java

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 769bbe3..39d6510 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+libcommons-net-java (3.6-2) UNRELEASED; urgency=medium
+
+  * 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.
+  * Set upstream metadata fields: Bug-Database, 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 14:51:21 -0000
+
 libcommons-net-java (3.6-1) unstable; urgency=medium
 
   * New upstream release
@@ -68,7 +82,7 @@ libcommons-net2-java (2.2-2) unstable; urgency=low
     - d/build.properties: enable test suite execution.
     - d/control: Added junit to B-D's to support testing.
     - d/rules: Added ant-junit and junit to DEB_JARS to support testing.
-    - d/maven-build.xml: Exclude tests that require network access, fail 
+    - d/maven-build.xml: Exclude tests that require network access, fail
       build when tests fail.
 
   [ Damien Raude-Morvan ]
@@ -114,4 +128,3 @@ libcommons-net2-java (2.0-1) unstable; urgency=low
     a major version change with API incompatibilities
 
  -- Ludovic Claude <ludovic.claude@laposte.net>  Thu, 30 Apr 2009 12:05:34 +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 61f2c5a..852e1da 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
 Uploaders: Ludovic Claude <ludovic.claude@laposte.net>, Emmanuel Bourg <ebourg@apache.org>
-Build-Depends: debhelper (>= 10),
+Build-Depends: debhelper-compat (= 12),
                default-jdk,
                default-jdk-doc,
                junit4,
@@ -15,9 +15,9 @@ Build-Depends: debhelper (>= 10),
                libmaven-source-plugin-java,
                maven-debian-helper (>= 2.0.2~)
 Standards-Version: 3.9.8
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/libcommons-net-java.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/libcommons-net-java.git
-Homepage: http://commons.apache.org/net/
+Vcs-Git: https://salsa.debian.org/java-team/libcommons-net-java.git
+Vcs-Browser: https://salsa.debian.org/java-team/libcommons-net-java
+Homepage: https://commons.apache.org/net/
 
 Package: libcommons-net-java
 Architecture: all
diff --git a/debian/copyright b/debian/copyright
index dd64e95..0bb8839 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: Apache Commons Net
 Source: http://commons.apache.org/net
 
diff --git a/debian/rules b/debian/rules
index 1c8468e..a6c1d2f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,3 @@
 
 override_dh_installchangelogs:
 	dh_installchangelogs RELEASE-NOTES.txt
-
-get-orig-source:
-	uscan --download-current-version --force-download --no-symlink
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..5ac5c53
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: http://issues.apache.org/jira/browse/NET
+Repository: http://svn.apache.org/repos/asf/commons/proper/net/tags/NET_3_6
+Repository-Browse: http://svn.apache.org/viewvc/commons/proper/net/tags/NET_3_6

Failed fixers:

See the worker log for details.

Run locally

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

debcheckout libcommons-net-java
cd libcommons-net-java
lintian-brush

More details

Full run details