Lintian Fixes - jmock2

Ready changes

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 062e48c..14bb3ef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+jmock2 (2.12.0-2) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Update watch file format version to 4.
+  * Update standards version to 4.6.1, no changes needed.
+  * Update pattern for GitHub archive URLs from /<org>/<repo>/tags
+    page/<org>/<repo>/archive/<tag> → /<org>/<repo>/archive/refs/tags/<tag>.
+  * Update standards version to 4.6.2, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 16 Nov 2022 13:29:54 -0000
+
 jmock2 (2.12.0-1) unstable; urgency=medium
 
   * Team upload.
@@ -100,7 +112,7 @@ jmock2 (2.7~snapshot+201309170925-gitd7fe69b5+dfsg-1) unstable; urgency=low
   * Bumped debhelper to version 9.
   * Patched build.xml to create java 1.6 source.
   * Patched source for unmappable character when using java 1.6 javadoc
-    generation. 
+    generation.
 
  -- Miguel Landaeta <miguel@miguel.cc>  Sun, 06 Oct 2013 18:24:26 -0300
 
diff --git a/debian/control b/debian/control
index ac38573..772cc43 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,7 @@ Build-Depends-Indep:
  libmaven-dependency-plugin-java,
  libmaven-exec-plugin-java,
  libobjenesis-java
-Standards-Version: 4.5.1
+Standards-Version: 4.6.2
 Vcs-Git: https://salsa.debian.org/java-team/jmock2.git
 Vcs-Browser: https://salsa.debian.org/java-team/jmock2
 Homepage: http://www.jmock.org/
diff --git a/debian/copyright b/debian/copyright
index 6349190..af78dbc 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: jMock2
 Upstream-Contact: Steve Freeman, Tim Mackinnon, Nat Pryce, Mauro Talevi, Joe Walnes
  <http://dir.gmane.org/gmane.comp.java.jmock.devel>
diff --git a/debian/watch b/debian/watch
index c498910..14c556c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
-https://github.com/jmock-developers/jmock-library/tags .*/archive/([\d\.]+).tar.gz
+version=4
+https://github.com/jmock-developers/jmock-library/tags .*/archive/refs/tags/([\d\.]+).tar.gz

Run locally

More details

Full run details

Historical runs