Run of lintian-fixes for commons-vfs

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

debcheckout commons-vfs
cd commons-vfs
lintian-brush

Merge these changes:

git pull https://janitor.debian.net/git/commons-vfs lintian-fixes/main

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index f333404..aee673d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+commons-vfs (2.1-3) UNRELEASED; urgency=medium
+
+  * Use secure URI in Homepage field.
+  * Bump debhelper from old 11 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 15:13:23 -0000
+
 commons-vfs (2.1-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index e5baafa..84321c3 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,6 @@ Uploaders:
  Damien Raude-Morvan <drazzib@debian.org>
 Build-Depends-Indep:
  ant-doc,
- debhelper (>= 11),
  default-jdk,
  junit4,
  libcommons-collections4-java,
@@ -27,9 +26,10 @@ Build-Depends-Indep:
  libmaven-javadoc-plugin-java,
  maven-debian-helper (>= 2.0.2~)
 Standards-Version: 4.1.3
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/commons-vfs.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/commons-vfs.git
-Homepage: http://commons.apache.org/vfs/
+Vcs-Git: https://salsa.debian.org/java-team/commons-vfs.git
+Vcs-Browser: https://salsa.debian.org/java-team/commons-vfs
+Homepage: https://commons.apache.org/vfs/
+Build-Depends: debhelper-compat (= 12)
 
 Package: libcommons-vfs-java
 Architecture: all
diff --git a/debian/rules b/debian/rules
index 5a6351f..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,3 @@
 
 %:
 	dh $@
-
-get-orig-source:
-	uscan --download-current-version --force-download --rename
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..cbd9cbf
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://issues.apache.org/jira/browse/VFS
+Repository: http://svn.apache.org/repos/asf/commons/proper/vfs/tags/commons-vfs2-project-2.1
+Repository-Browse: http://svn.apache.org/viewvc/commons/proper/vfs/tags/commons-vfs2-project-2.1

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t unstable libcommons-vfs-java-doc
apt install -t unstable libcommons-vfs-java

Lintian Result

Full worker log Full build log