Run of lintian-fixes for erlang-metrics

Run Locally

git clone https://salsa.debian.org/erlang-team/packages/erlang-metrics.git/ erlang-metrics
cd erlang-metrics
DEB_UPDATE_CHANGELOG=auto lintian-brush

Logs

worker

worker.log text

Summary

Changes

main

Changes for main
diff --git a/debian/changelog b/debian/changelog
index c444661..967795a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+erlang-metrics (2.5.0-5) UNRELEASED; urgency=low
+
+  * Set field Upstream-Contact in debian/copyright.
+  * Update watch file format version to 5.
+  * Use GitHub template in watch file instead of explicit
+    Source/Matching-Pattern.
+  * Set upstream metadata fields: Bug-Submit.
+  * Remove obsolete fields Contact, Name from debian/upstream/metadata (already
+    present in machine-readable debian/copyright).
+  * Update standards version to 4.7.4, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 13 May 2026 07:57:10 +0000
+
 erlang-metrics (2.5.0-4) unstable; urgency=medium
 
   * Team upload
diff --git a/debian/control b/debian/control
index f25c7da..a74cfe7 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Erlang Packagers <pkg-erlang-devel@lists.alioth.debian.org>
 Uploaders: James Valleroy <jvalleroy@mailbox.org>
 Build-Depends: debhelper-compat (= 13), dh-rebar
-Standards-Version: 4.7.3
+Standards-Version: 4.7.4
 Homepage: https://github.com/benoitc/erlang-metrics
 Vcs-Browser: https://salsa.debian.org/erlang-team/packages/erlang-metrics
 Vcs-Git: https://salsa.debian.org/erlang-team/packages/erlang-metrics.git
diff --git a/debian/copyright b/debian/copyright
index f259f1f..04f3c9a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,5 +1,6 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: erlang-metrics
+Upstream-Contact: https://github.com/benoitc/erlang-metrics/issues
 Source: https://github.com/benoitc/erlang-metrics
 
 Files: *
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
index 6ffccca..e021ac3 100644
--- a/debian/upstream/metadata
+++ b/debian/upstream/metadata
@@ -1,7 +1,6 @@
 ---
 Archive: GitHub
 Bug-Database: https://github.com/benoitc/erlang-metrics/issues
-Contact: https://github.com/benoitc/erlang-metrics/issues
-Name: erlang-metrics
+Bug-Submit: https://github.com/benoitc/erlang-metrics/issues/new
 Repository: https://github.com/benoitc/erlang-metrics.git
 Repository-Browse: https://github.com/benoitc/erlang-metrics
diff --git a/debian/watch b/debian/watch
index 6210555..d5b981a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,8 @@
-version=4
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%erlang-metrics-$1.tar.gz%" \
-   https://github.com/benoitc/erlang-metrics/tags \
-   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
+Version: 5
+
+Version-Policy: debian
+Script: uupdate
+Filenamemangle: s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%erlang-metrics-$1.tar.gz%
+Template: GitHub
+Owner: benoitc
+Project: erlang-metrics

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Resulting Package

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

apt install -t sid erlang-metrics
                        

Lintian Result