Lintian Fixes - erlang-meck

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/erlang-meck lintian-fixes/main

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 6bb786e..10d756d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+erlang-meck (0.8.7-3) UNRELEASED; urgency=low
+
+  * Bump debhelper from old 11 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Fix field name case in debian/copyright (Upstream-name => Upstream-Name).
+
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 03 Jun 2020 02:03:06 -0000
+
 erlang-meck (0.8.7-2) unstable; urgency=medium
 
   * Change maintainer address to Debian Erlang Packagers
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index f507e2c..cfb2045 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Taku YASUI <tach@debian.org>, Nobuhiro Iwamatsu <iwamatsu@debian.org>
 Section: devel
 Priority: optional
 Standards-Version: 4.1.4
-Build-Depends: debhelper (>= 11), dpkg-dev (>= 1.16.1~), erlang-dev (>= 1:13.b.4),
+Build-Depends: debhelper-compat (= 12), dpkg-dev (>= 1.16.1~), erlang-dev (>= 1:13.b.4),
 	erlang-eunit, erlang-dialyzer, dh-rebar
 Homepage: https://github.com/eproxus/meck
 Vcs-Git: https://salsa.debian.org/erlang-team/packages/erlang-meck.git
diff --git a/debian/copyright b/debian/copyright
index cfd9496..ce3965f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,7 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-name: erlang-meck
 Upstream-contact: Adam Lindberg <eproxus@gmail.com>
 Source: https://github.com/eproxus/meck.git
+Upstream-Name: erlang-meck
 
 Files: *
 Copyright: Copyright 2011 Adam Lindberg & Erlang Solutions Ltd.
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..21a616e
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/eproxus/meck/issues
+Bug-Submit: https://github.com/eproxus/meck/issues/new
+Repository: https://github.com/eproxus/meck.git
+Repository-Browse: https://github.com/eproxus/meck

Run locally

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

debcheckout erlang-meck
cd erlang-meck
lintian-brush

More details

Full run details