Lintian Fixes - hawknl

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/hawknl lintian-fixes

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2009-12-03 03:16:45 +0000
+++ b/debian/changelog	2020-06-25 07:46:19 +0000
@@ -1,3 +1,15 @@
+hawknl (1.6.8+dfsg2-2) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Transition to automatic debug package (from: libhawknl-dbg).
+  * debian/rules: Use dh_prep rather than "dh_clean -k".
+  * Bump debhelper from deprecated 5 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Update Vcs-* headers to use salsa repository.
+  * Rely on pre-initialized dpkg-architecture variables.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 25 Jun 2020 07:41:35 -0000
+
 hawknl (1.6.8+dfsg2-1) unstable; urgency=low
 
   [ Barry deFreese ]

=== removed file 'debian/compat'
--- a/debian/compat	2009-12-01 15:57:49 +0000
+++ b/debian/compat	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-5

=== modified file 'debian/control'
--- a/debian/control	2009-12-01 17:48:35 +0000
+++ b/debian/control	2020-06-25 07:45:36 +0000
@@ -3,11 +3,11 @@
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
 Uploaders: Barry deFreese <bdefreese@debian.org>
-Build-Depends: debhelper (>= 5.0.0), quilt
+Build-Depends: debhelper-compat (= 12), quilt
 Standards-Version: 3.8.3
 Homepage: http://hawksoft.com/hawknl/
-Vcs-Git: git://git.debian.org/pkg-games/hawknl.git
-Vcs-Browser: http://git.debian.org/?p=pkg-games/hawknl.git;a=summary
+Vcs-Git: https://salsa.debian.org/games-team/hawknl.git
+Vcs-Browser: https://salsa.debian.org/games-team/hawknl
 
 Package: libhawknl-dev
 Section: libdevel
@@ -16,7 +16,7 @@
 Description: Hawk game oriented network library API (development headers)
  HawkNL is a free, open source, game oriented network API.
  .
- HawkNL (NL) is a fairly low level API, a wrapper over Berkeley/Unix 
+ HawkNL (NL) is a fairly low level API, a wrapper over Berkeley/Unix
  Sockets and Winsock. But NL also provides other features
  including support for:
    * Multiple operating systems.
@@ -35,34 +35,13 @@
 Description: Hawk game oriented network library API
  HawkNL is a free, open source, game oriented network API.
  .
- HawkNL (NL) is a fairly low level API, a wrapper over Berkeley/Unix 
- Sockets and Winsock. But NL also provides other features
- including support for:
-   * Multiple operating systems.
-   * Groups of sockets
-   * Socket statistics
-   * High accuracy timer
-   * CRC functions
-   * Macros to read and write data to packets with endian conversion
-   * Multiple network transports.
-
-Package: libhawknl-dbg
-Section: debug
-Architecture: any
-Depends: ${misc:Depends}, libhawknl (= ${binary:Version})
-Priority: extra
-Description: Hawk game oriented network library API (debug package)
- HawkNL is a free, open source, game oriented network API.
- .
- HawkNL (NL) is a fairly low level API, a wrapper over Berkeley/Unix 
- Sockets and Winsock. But NL also provides other features
- including support for:
-   * Multiple operating systems.
-   * Groups of sockets
-   * Socket statistics
-   * High accuracy timer
-   * CRC functions
-   * Macros to read and write data to packets with endian conversion
-   * Multiple network transports.
- .
- This package contains the debug symbols.
+ HawkNL (NL) is a fairly low level API, a wrapper over Berkeley/Unix
+ Sockets and Winsock. But NL also provides other features
+ including support for:
+   * Multiple operating systems.
+   * Groups of sockets
+   * Socket statistics
+   * High accuracy timer
+   * CRC functions
+   * Macros to read and write data to packets with endian conversion
+   * Multiple network transports.

=== modified file 'debian/rules'
--- a/debian/rules	2009-12-01 15:57:49 +0000
+++ b/debian/rules	2020-06-25 07:46:19 +0000
@@ -5,8 +5,7 @@
 
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+include /usr/share/dpkg/architecture.mk
 
 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
   confflags += --build $(DEB_HOST_GNU_TYPE)
@@ -28,7 +27,7 @@
 endif
 
 build: patch build-stamp
-build-stamp: 
+build-stamp:
 	dh_testdir
 
 	$(MAKE) -C src -f makefile.linux
@@ -48,7 +47,7 @@
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 
 	$(MAKE) -C src -f makefile.linux install DESTDIR=$(CURDIR)/debian/tmp
 
@@ -62,7 +61,7 @@
 	dh_installexamples
 	dh_installman
 	dh_install
-	dh_strip --dbg-package=libhawknl-dbg
+	dh_strip --dbgsym-migration='libhawknl-dbg (<< 1.6.8+dfsg2-2~)'
 	dh_link
 	dh_compress
 	dh_fixperms

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in second set of .debs but not in first

-rw-r--r--  root/root   /usr/lib/debug/.build-id/0f/40cb645aa8364c5e691ab0f203de6a9d55bc2b.debug
lrwxrwxrwx  root/root   /usr/share/doc/libhawknl-dbgsym -> libhawknl

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/lib/debug/usr/lib/libNL.so.1.6.8
-rw-r--r--  root/root   /usr/share/doc/libhawknl-dbg/changelog.Debian.gz
-rw-r--r--  root/root   /usr/share/doc/libhawknl-dbg/changelog.gz
-rw-r--r--  root/root   /usr/share/doc/libhawknl-dbg/copyright

No differences were encountered between the control files of package libhawknl

No differences were encountered between the control files of package libhawknl-dev

Failed fixers:

See the worker log for details.

Run locally

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

debcheckout hawknl
cd hawknl
lintian-brush

More details

Full run details