Run of lintian-fixes for osmo-sgsn

Try this locally (using the lintian-brush package):

debcheckout osmo-sgsn
cd osmo-sgsn
lintian-brush

Merge these changes:

git pull https://janitor.debian.net/git/osmo-sgsn lintian-fixes/main

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index d3b291d..8db59af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,15 @@
+osmo-sgsn (1.6.2+dfsg1-4) UNRELEASED; urgency=medium
+
+  * Trim trailing whitespace.
+  * Drop unnecessary dependency on dh-autoreconf.
+  * Avoid explicitly specifying -Wl,--as-needed linker flag.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 24 Mar 2021 14:17:32 -0000
+
 osmo-sgsn (1.6.2+dfsg1-3) unstable; urgency=medium
 
   * upload to unstable
-  * mark tests as superficial (Closes: #971492) 
+  * mark tests as superficial (Closes: #971492)
   * add patch to avoid possible null dereferences (Closes: #976866)
     thanks a lot to Steve Langasek
 
diff --git a/debian/rules b/debian/rules
index c4907e9..5f9605a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,14 +5,13 @@
 include /usr/share/dpkg/pkg-info.mk
 
 
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 CHANGELOG_DATE ?= $(shell LC_ALL=C date -u -d @$(SOURCE_DATE_EPOCH) +"%d %B %Y")
 
 %:
-	dh $@ --with autoreconf
+	dh $@
 
 override_dh_clean:
 	dh_clean

Lintian Result

Full worker log Full build log