Lintian Fixes - nut

Ready changes

Summary

Failed fixers:

See the worker log for details.

Diff

diff --git a/debian/changelog b/debian/changelog
index 5dbf3f8..07092f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+nut (2.8.0-8) UNRELEASED; urgency=medium
+
+  * Bump debhelper from old 12 to 13.
+    + Rename debian/nut-client.tmpfile to debian/nut-client.tmpfiles.
+    + Rename debian/nut-server.tmpfile to debian/nut-server.tmpfiles.
+  * Set debhelper-compat version in Build-Depends.
+  * Update standards version to 4.6.2, no changes needed.
+  * Avoid explicitly specifying -Wl,--as-needed linker flag.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 07 Jun 2023 23:43:39 -0000
+
 nut (2.8.0-7) unstable; urgency=medium
 
   * debian/tests/test-nut.py: Skip the flaky tests for now.
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 48082f7..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-12
diff --git a/debian/control b/debian/control
index c1c0b10..50226c2 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: admin
 Priority: optional
 Maintainer: Laurent Bigonville <bigon@debian.org>
 Build-Depends: asciidoc <!nodoc>,
-               debhelper (>= 12),
+               debhelper-compat (= 13),
                dh-python,
                docbook-xml <!nodoc>,
                libavahi-client-dev,
@@ -26,7 +26,7 @@ Build-Depends: asciidoc <!nodoc>,
 Build-Depends-Indep: asciidoc-dblatex <!nodoc>,
                      dblatex <!nodoc>,
                      docbook-xsl <!nodoc>
-Standards-Version: 4.6.0
+Standards-Version: 4.6.2
 Homepage: https://networkupstools.org/
 Vcs-Browser: https://salsa.debian.org/debian/nut
 Vcs-Git: https://salsa.debian.org/debian/nut.git
diff --git a/debian/nut-client.tmpfile b/debian/nut-client.tmpfiles
similarity index 100%
rename from debian/nut-client.tmpfile
rename to debian/nut-client.tmpfiles
diff --git a/debian/nut-server.tmpfile b/debian/nut-server.tmpfiles
similarity index 100%
rename from debian/nut-server.tmpfile
rename to debian/nut-server.tmpfiles
diff --git a/debian/rules b/debian/rules
index 4793bd0..978c151 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
 
 DEB_BUILD_MAINT_OPTIONS=hardening=+all
-DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,-O1 -Wl,--as-needed
+DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,-O1
 include /usr/share/dpkg/buildflags.mk
 include /usr/share/dpkg/pkg-info.mk
 

Run locally

More details

Full run details

Historical runs