Lintian Fixes - go-mode.el

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/go-mode.el lintian-fixes

Summary

Diff

=== modified file 'debian/changelog'
--- a/debian/changelog	2019-08-25 13:11:01 +0000
+++ b/debian/changelog	2020-06-06 14:07:10 +0000
@@ -1,3 +1,15 @@
+go-mode.el (3:1.5.0-4) UNRELEASED; urgency=low
+
+  * Use secure copyright file specification URI.
+  * Bump debhelper from old 10 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Change priority extra to priority optional.
+  * Move transitional package golang-mode to oldlibs/optional per policy 4.0.1.
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 06 Jun 2020 14:03:34 -0000
+
 go-mode.el (3:1.5.0-3) unstable; urgency=medium
 
   * Team upload.

=== removed file 'debian/compat'
--- a/debian/compat	2017-08-02 20:23:10 +0000
+++ b/debian/compat	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-10

=== modified file 'debian/control'
--- a/debian/control	2018-07-29 02:38:08 +0000
+++ b/debian/control	2020-06-06 14:06:29 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Emacsen team <debian-emacsen@lists.debian.org>
 Uploaders: Hilko Bengen <bengen@debian.org>
-Build-Depends: debhelper (>= 10), dh-elpa,
+Build-Depends: debhelper-compat (= 12), dh-elpa,
 Standards-Version: 4.0.0
 Homepage: https://github.com/dominikh/go-mode.el
 Vcs-Git: https://salsa.debian.org/emacsen-team/go-mode.el.git
@@ -23,7 +23,6 @@
 Package: golang-mode
 Architecture: all
 Section: oldlibs
-Priority: extra
 Depends: ${misc:Depends}, elpa-go-mode
 Description: Emacs mode for editing Go code -- transitional package
  This is a transitional package for elpa-go-mode and can be safely

=== modified file 'debian/copyright'
--- a/debian/copyright	2015-06-08 19:55:09 +0000
+++ b/debian/copyright	2020-06-06 14:03:51 +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: go-mode.el
 Source: https://github.com/dominikh/go-mode.el
 

=== added directory 'debian/upstream'
=== added file 'debian/upstream/metadata'
--- a/debian/upstream/metadata	1970-01-01 00:00:00 +0000
+++ b/debian/upstream/metadata	2020-06-06 14:07:10 +0000
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/dominikh/go-mode.el/issues
+Bug-Submit: https://github.com/dominikh/go-mode.el/issues/new
+Repository: https://github.com/dominikh/go-mode.el.git
+Repository-Browse: https://github.com/dominikh/go-mode.el

Run locally

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

debcheckout go-mode.el
cd go-mode.el
lintian-brush

More details

Full run details