Lintian Fixes - libfreefare

Ready changes

Merge these changes:

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

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2015-10-07 15:22:21 +0000
+++ b/debian/changelog	2020-07-01 00:05:18 +0000
@@ -1,3 +1,17 @@
+libnfc (1.7.1-5) UNRELEASED; urgency=low
+
+  * Trim trailing whitespace.
+  * Use secure copyright file specification URI.
+  * Transition to automatic debug package (from: libnfc5-dbg).
+  * Bump debhelper from deprecated 9 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Change priority extra to priority optional.
+  * Drop unnecessary dependency on dh-autoreconf.
+  * Fix day-of-week for changelog entries 1.7.0-0, 1.7.0~rc1-0, 1.5.0pre1.4-0,
+    1.5.0pre1.1-0, 1.5.0-0, 1.4.2-0, 1.3.3-0, 1.2.1-3, 1.2.1-2, 1.2.1-1.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 30 Jun 2020 23:59:07 -0000
+
 libnfc (1.7.1-4) unstable; urgency=medium
 
   * Update debian/watch to track new upstream releases on github
@@ -50,7 +64,7 @@
  -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Wed, 18 Sep 2013 13:55:20 +0900
 
 libnfc (1.7.0-1) unstable; urgency=low
-  
+
   * Upload to Debian. (Closes: #722066)
   * Add patches/0001-Add-support-kFreeBSD.patch.
     Fix build on kFreeBSD.
@@ -63,7 +77,7 @@
 
   * New upstream release
 
- -- yobibe <yobibe@gmail.com>  Fri, 3 Sep 2013 16:42:42 +0100
+ -- yobibe <yobibe@gmail.com>  Tue, 03 Sep 2013 16:42:42 +0100
 
 libnfc (1.7.0~rc7-1) unstable; urgency=low
 
@@ -105,7 +119,7 @@
 
   * New upstream release
 
- -- Romuald Conty <romuald@libnfc.org>  Thu, 9 Dec 2012 12:42:42 +0100
+ -- Romuald Conty <romuald@libnfc.org>  Sun, 09 Dec 2012 12:42:42 +0100
 
 libnfc (1.6.0rc1-0) UNRELEASED; urgency=low
 
@@ -132,7 +146,7 @@
   * All drivers are now enabled under Debian;
   * Add nfc-emulate-nfcforum-tag2 and nfc-mfsetuid to libnfc-examples.
 
- -- Romuald Conty <romuald@libnfc.org>  Tue, 13 May 2011 15:42:42 +0100
+ -- Romuald Conty <romuald@libnfc.org>  Fri, 13 May 2011 15:42:42 +0100
 
 libnfc (1.5.0pre1.3-0) UNRELEASED; urgency=low
 
@@ -159,19 +173,19 @@
   * Depend on ${misc:Depends} since we use debhelper.
   * Use dh_prep instead of dh_clean -k.
 
- -- Thomas Hood <jdthood@gmail.com>  Mon, 10 May 2011 12:00:00 +0100
+ -- Thomas Hood <jdthood@gmail.com>  Tue, 10 May 2011 12:00:00 +0100
 
 libnfc (1.5.0-0) UNRELEASED; urgency=low
 
   * Experimental released version (r1019).
 
- -- Romuald Conty <romuald@libnfc.org>  Mon, 29 Apr 2011 11:42:42 +0100
+ -- Romuald Conty <romuald@libnfc.org>  Fri, 29 Apr 2011 11:42:42 +0100
 
 libnfc (1.4.2-0) UNRELEASED; urgency=low
 
   * New upstream release.
 
- -- Romuald Conty <romuald@libnfc.org>  Tue, 21 Feb 2011 11:42:42 +0100
+ -- Romuald Conty <romuald@libnfc.org>  Mon, 21 Feb 2011 11:42:42 +0100
 
 libnfc (1.4.1-0) UNRELEASED; urgency=low
 
@@ -201,7 +215,7 @@
 
   * New upstream release.
 
- -- Romuald Conty <romuald@libnfc.org>  Thu, 17 Feb 2010 15:42:42 +0100
+ -- Romuald Conty <romuald@libnfc.org>  Wed, 17 Feb 2010 15:42:42 +0100
 
 libnfc (1.3.2-0) UNRELEASED; urgency=low
 
@@ -231,20 +245,20 @@
 
   * Don't use CDBS anymore, should now cross compile.
 
- -- Romuald Conty <romuald@libnfc.org>  Thu, 29 Sep 2009 9:42:42 +0100
+ -- Romuald Conty <romuald@libnfc.org>  Tue, 29 Sep 2009 09:42:42 +0100
 
 libnfc (1.2.1-2) UNRELEASED; urgency=low
 
   * Add missing dependencies for ACR122 devices (pcscd).
 
- -- Romuald Conty <romuald@libnfc.org>  Fri, 23 Sep 2009 16:42:42 +0100
+ -- Romuald Conty <romuald@libnfc.org>  Wed, 23 Sep 2009 16:42:42 +0100
 
 libnfc (1.2.1-1) UNRELEASED; urgency=low
 
   * Description have been updated.
   * Provided binairies should not be consider as tools but as examples.
 
- -- Romuald Conty <romuald@libnfc.org>  Fri, 03 Sep 2009 18:42:42 +0100
+ -- Romuald Conty <romuald@libnfc.org>  Thu, 03 Sep 2009 18:42:42 +0100
 
 libnfc (1.2.1-0) UNRELEASED; urgency=low
 
@@ -263,4 +277,3 @@
   * Initial debian package.
 
  -- Romuald Conty <romuald@libnfc.org>  Wed, 22 Apr 2009 10:42:42 +0100
-

=== removed file 'debian/compat'
--- a/debian/compat	2013-02-06 14:07:18 +0000
+++ b/debian/compat	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-9

=== modified file 'debian/control'
--- a/debian/control	2019-02-27 06:41:40 +0000
+++ b/debian/control	2020-07-01 00:04:35 +0000
@@ -1,9 +1,9 @@
 Source: libnfc
 Section: libs
-Priority: extra
+Priority: optional
 Maintainer: Nobuhiro Iwamatsu <iwamatsu@debian.org>
 Uploaders: Ludovic Rousseau <rousseau@debian.org>
-Build-Depends: debhelper (>= 9), dh-autoreconf, libtool, pkg-config, libusb-dev
+Build-Depends: debhelper-compat (= 12), libtool, pkg-config, libusb-dev
 Standards-Version: 3.9.6
 Homepage: http://www.nfc-tools.org/
 Vcs-Git: https://salsa.debian.org/debian/libnfc.git
@@ -41,20 +41,6 @@
  This package contains the header and development files needed to build
  programs and packages using libnfc.
 
-Package: libnfc5-dbg
-Section: debug
-Architecture: any
-Multi-Arch: same
-Depends: ${misc:Depends}, libnfc5 (= ${binary:Version})
-Description: Near Field Communication (NFC) library (debugging information)
- libnfc is a library for Near Field Communication. It abstracts the
- low-level details of communicating with the devices away behind an
- easy-to-use high-level API.
- It supports most hardware based on the NXP PN531, PN532 or PN533
- controller chips.
- .
- This package contains the debugging information.
-
 Package: libnfc-bin
 Section: utils
 Architecture: any

=== modified file 'debian/copyright'
--- a/debian/copyright	2015-10-07 15:22:21 +0000
+++ b/debian/copyright	2020-07-01 00:00:20 +0000
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: libnfc
 Source: https://github.com/nfc-tools/libnfc
 

=== modified file 'debian/rules'
--- a/debian/rules	2015-06-05 00:10:03 +0000
+++ b/debian/rules	2020-07-01 00:04:35 +0000
@@ -24,7 +24,7 @@
 override_dh_installchangelogs:
 	dh_installchangelogs ChangeLog
 
-override_dh_auto_configure: 
+override_dh_auto_configure:
 	dh_auto_configure -- $(confflags)
 
 override_dh_auto_install:
@@ -33,8 +33,8 @@
 	install -m 644 libnfc.conf.sample debian/tmp/etc/nfc/libnfc.conf
 
 %:
-	dh $@ --with autoreconf
+	dh $@
 
 override_dh_strip:
-	dh_strip -plibnfc5 --dbg-package=libnfc5-dbg
+	dh_strip -plibnfc5 --dbgsym-migration='libnfc5-dbg (<< 1.7.1-5~)'
 	dh_strip --remaining-packages

Run locally

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

debcheckout libfreefare
cd libfreefare
lintian-brush

More details

Full run details