Lintian Fixes - libcommons-collections4-java

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 3d2f89b..522d436 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+libcommons-collections4-java (4.2-2) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Use secure URI in Homepage field.
+  * Bump debhelper from old 11 to 13.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Repository, Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 01 Sep 2022 11:17:28 -0000
+
 libcommons-collections4-java (4.2-1) unstable; urgency=medium
 
   * New upstream release
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 bd32e48..91192ad 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
 Uploaders: Emmanuel Bourg <ebourg@apache.org>
 Build-Depends:
- debhelper (>= 11),
+ debhelper-compat (= 13),
  default-jdk,
  default-jdk-doc,
  junit4,
@@ -16,7 +16,7 @@ Build-Depends:
 Standards-Version: 4.2.1
 Vcs-Git: https://salsa.debian.org/java-team/libcommons-collections4-java.git
 Vcs-Browser: https://salsa.debian.org/java-team/libcommons-collections4-java
-Homepage: http://commons.apache.org/collections/
+Homepage: https://commons.apache.org/collections/
 
 Package: libcommons-collections4-java
 Architecture: all
diff --git a/debian/copyright b/debian/copyright
index 87b985b..d8e2309 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 Collections
 Source: http://commons.apache.org/collections/
 
diff --git a/debian/rules b/debian/rules
index 26e89fb..058eaa1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,4 +7,3 @@ export JAVA_HOME := /usr/lib/jvm/default-java
 
 override_dh_installchangelogs:
 	dh_installchangelogs RELEASE-NOTES.txt
-
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..cf2cf14
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: http://issues.apache.org/jira/browse/COLLECTIONS
+Repository: http://git-wip-us.apache.org/repos/asf/commons-collections.git
+Repository-Browse: https://git-wip-us.apache.org/repos/asf?p=commons-collections.git

Run locally

More details

Full run details