Lintian Fixes - fftw3

Ready changes

Merge these changes:

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

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2018-10-20 21:15:08 +0000
+++ b/debian/changelog	2020-05-28 03:34:42 +0000
@@ -12,6 +12,15 @@
   [ Jelmer Vernooń≥ ]
   * Trim trailing whitespace.
 
+  [ Debian Janitor ]
+  * Bump debhelper from old 9 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database.
+  * Rely on pre-initialized dpkg-architecture variables.
+  * Wrap long lines in changelog entries: 3.0.1-8, 3.0.1-4.
+  * Set upstream metadata fields: Bug-Submit, Repository, Repository-Browse.
+  * Replace use of deprecated $ADTTMP with $AUTOPKGTEST_TMP.
+
  -- Steffen Moeller <moeller@debian.org>  Mon, 01 Oct 2018 16:31:17 +0200
 
 fftw3 (3.3.8-2) unstable; urgency=medium
@@ -482,7 +491,8 @@
 
 fftw3 (3.0.1-8) unstable; urgency=low
 
-  * add missing files /usr/bin/fftw{f,l}-wisdom and related man files. Closes: Bug#228959
+  * add missing files /usr/bin/fftw{f,l}-wisdom and related man files. Closes:
+    Bug#228959
   * remove setgid in source. Closes: Bug#240180
   * add m68k to the list of arches that don't install long-double libs in
     binary-arch. Closes: Bug#244393
@@ -505,7 +515,8 @@
 fftw3 (3.0.1-4) unstable; urgency=low
 
   * Add missing man pages. Closes: #203084
-  * applied patch from upstream to fix the -t option of fftw-wisdom. Closes: #203154
+  * applied patch from upstream to fix the -t option of fftw-wisdom.
+    Closes: #203154
 
  -- James A. Treacy <treacy@debian.org>  Sun, 27 Jul 2003 14:08:48 -0400
 

=== removed file 'debian/compat'
--- a/debian/compat	2014-03-16 16:24:37 +0000
+++ b/debian/compat	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-9

=== modified file 'debian/control'
--- a/debian/control	2018-09-10 17:39:39 +0000
+++ b/debian/control	2019-12-21 19:06:46 +0000
@@ -5,7 +5,7 @@
 Uploaders: Paul Brossier <piem@debian.org>,
            Julian Taylor <jtaylor.debian@googlemail.com>
 Build-Depends: chrpath,
-               debhelper (>= 9),
+               debhelper-compat (= 12),
                dh-autoreconf,
                dpkg (>= 1.16.0),
                gfortran,

=== modified file 'debian/rules'
--- a/debian/rules	2018-06-25 20:38:14 +0000
+++ b/debian/rules	2019-12-21 19:07:33 +0000
@@ -1,9 +1,7 @@
 #!/usr/bin/make -f
 
 ARCHITECTURE := $(shell dpkg-architecture -qDEB_HOST_ARCH)
-DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
 
 CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
 CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
@@ -59,7 +57,7 @@
 endif
 
 ifneq (,$(findstring nog77,$(DEB_BUILD_OPTIONS)))
-	archconfflags := $(archconfflags) F77="gfortran" 
+	archconfflags := $(archconfflags) F77="gfortran"
 else
 	archconfflags := $(archconfflags) F77="gfortran -ff2c"
 endif

=== modified file 'debian/tests/build'
--- a/debian/tests/build	2013-10-26 16:40:32 +0000
+++ b/debian/tests/build	2020-05-28 03:34:42 +0000
@@ -1,7 +1,7 @@
 #!/bin/bash
 set -efu
 
-cd $ADTTMP
+cd $AUTOPKGTEST_TMP
 
 # only float and double are available on all platforms
 cat << EOF > double.c

=== modified file 'debian/tests/tools'
--- a/debian/tests/tools	2013-10-26 16:40:32 +0000
+++ b/debian/tests/tools	2020-05-28 03:34:42 +0000
@@ -1,7 +1,7 @@
 #!/bin/bash
 set -efu
 
-cd $ADTTMP
+cd $AUTOPKGTEST_TMP
 
 # only float and double are available on all platforms
 fftwf-wisdom -n -o wisdom cof1024 cob1024 r4096

=== added file 'debian/upstream/metadata'
--- a/debian/upstream/metadata	1970-01-01 00:00:00 +0000
+++ b/debian/upstream/metadata	2020-05-28 03:34:05 +0000
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/FFTW/fftw3/issues
+Bug-Submit: https://github.com/FFTW/fftw3/issues/new
+Repository: https://github.com/FFTW/fftw3.git
+Repository-Browse: https://github.com/FFTW/fftw3

Run locally

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

debcheckout fftw3
cd fftw3
lintian-brush

More details

Full run details