Lintian Fixes - meep-mpi-default

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 2f85a45..e6216cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+meep-mpi-default (1.12.0-3) UNRELEASED; urgency=low
+
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Drop unnecessary dependency on dh-autoreconf.
+  * Rely on pre-initialized dpkg-architecture variables.
+  * Update standards version to 4.5.0, no changes needed.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 20 Jul 2020 22:59:22 -0000
+
 meep-mpi-default (1.12.0-2) unstable; urgency=medium
 
   * upload to unstable
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 fb07564..fa46005 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: science
 Priority: optional
 Maintainer: Thorsten Alteholz <debian@alteholz.de>
 Build-Depends: gfortran
-	, debhelper (>= 12)
+	, debhelper-compat (= 12)
 	, libctl-dev (>= 4.4.0)
 	, pkg-config
 	, libharminv-dev (>= 1.4.1)
@@ -22,7 +22,7 @@ Build-Depends: gfortran
         , python3-h5py
 	, mpi-default-bin
 	, libgdsii-dev
-Standards-Version: 4.4.1
+Standards-Version: 4.5.0
 Homepage: https://meep.readthedocs.io
 Vcs-Browser: https://salsa.debian.org/alteholz/meep-mpi-default
 Vcs-Git: https://salsa.debian.org/alteholz/meep-mpi-default.git
diff --git a/debian/rules b/debian/rules
index b83cf1a..5e6e6d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,8 +8,7 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 install_file    = /usr/bin/install -p -o root -g root -m 644
-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
 
 # Which MPI implementation?
 # set ARCH_DEFAULT_MPI_IMPL
@@ -30,7 +29,7 @@ CONFIGURE_FLAGS = --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
 	--enable-maintainer-mode
 
 %:
-	dh $@ --with autoreconf
+	dh $@
 
 override_dh_auto_configure:
 	F77=gfortran dh_auto_configure -- $(CONFIGURE_FLAGS)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..456c011
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/stevengj/meep/issues
+Bug-Submit: https://github.com/stevengj/meep/issues/new
+Repository: https://github.com/stevengj/meep.git
+Repository-Browse: https://github.com/stevengj/meep

Run locally

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

debcheckout meep-mpi-default
cd meep-mpi-default
lintian-brush

More details

Full run details