Lintian Fixes - duc

Ready changes

Summary

Lintian Result

Diff

diff --git a/debian/changelog b/debian/changelog
index 1a7166f..ad85342 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,11 @@ duc (1.4.4-2) UNRELEASED; urgency=medium
   * Set debhelper-compat version in Build-Depends.
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
     Repository-Browse.
+  * Bump debhelper from old 12 to 13.
+  * 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.0, no changes needed.
+  * Avoid explicitly specifying -Wl,--as-needed linker flag.
 
  -- Debian Janitor <janitor@jelmer.uk>  Wed, 06 May 2020 17:35:12 +0000
 
diff --git a/debian/control b/debian/control
index 2c70741..195b568 100644
--- a/debian/control
+++ b/debian/control
@@ -2,14 +2,14 @@ Source: duc
 Section: utils
 Priority: optional
 Maintainer: Jonathan Dowland <jmtd@debian.org>
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: debhelper-compat (= 13),
                libcairo2-dev,
                libncursesw5-dev,
                libpango1.0-dev,
                libtokyocabinet-dev,
                ronn,
                txt2man
-Standards-Version: 4.5.0
+Standards-Version: 4.6.0
 Homepage: https://duc.zevv.nl/
 Vcs-Git: https://salsa.debian.org/debian/duc.git
 Vcs-Browser: https://salsa.debian.org/debian/duc
diff --git a/debian/rules b/debian/rules
index c94feca..3f5c082 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,6 @@
 #DH_VERBOSE = 1
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 FLAGS_duc:=--enable-dependency-tracking
 FLAGS_duc-nox:=--enable-dependency-tracking
diff --git a/debian/watch b/debian/watch
index f4df967..ffabac2 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
 version=4
-https://github.com/zevv/duc/releases .*/archive/v?(\d\S+)\.tar\.(?:gz|bz2|xz)
+https://github.com/zevv/duc/releases .*/archive/refs/tags/v?(\d\S+)\.tar\.(?:gz|bz2|xz)

Run locally

More details

Full run details