Lintian Fixes - redir

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 268af62..669156d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+redir (3.3-2) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Set upstream metadata fields: Repository-Browse.
+  * debian/watch: Use GitHub /tags rather than /releases page.
+  * Update standards version to 4.6.2, no changes needed.
+  * Avoid explicitly specifying -Wl,--as-needed linker flag.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 10 Jan 2023 09:35:08 -0000
+
 redir (3.3-1) unstable; urgency=medium
 
   [ Lucas Kanashiro ]
@@ -282,6 +293,3 @@ redir (0.7-1) unstable; urgency=low
   * Initial Release
 
  -- Christoph Lameter <clameter@debian.org>  Tue, 17 Sep 1996 14:51:46 +0800
-
-
-
diff --git a/debian/control b/debian/control
index cc0360b..1e2a62e 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Lucas Kanashiro <kanashiro@debian.org>
 Build-Depends: debhelper-compat (= 13),
                libwrap0-dev
-Standards-Version: 4.5.0
+Standards-Version: 4.6.2
 Homepage: https://github.com/troglobit/redir
 Vcs-Browser: https://salsa.debian.org/debian/redir
 Vcs-Git: https://salsa.debian.org/debian/redir.git
diff --git a/debian/rules b/debian/rules
index a44f8b4..8f030de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,4 @@
 #!/usr/bin/make -f
-
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 DPKG_EXPORT_BUILDFLAGS = 1
 
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..1f9a057
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/troglobit/redir/issues
+Bug-Submit: https://github.com/troglobit/redir/issues/new
+Repository: https://github.com/troglobit/redir.git
+Repository-Browse: https://github.com/troglobit/redir
diff --git a/debian/watch b/debian/watch
index 61c6cd2..4546eb2 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
 version=4
-https://github.com/troglobit/redir/releases .*/v?(\d\S*)\.tar\.gz
+https://github.com/troglobit/redir/tags .*/v?(\d\S*)\.tar\.gz

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package redir

No differences were encountered between the control files of package redir-dbgsym

Run locally

More details

Full run details