Lintian Fixes - golang-github-flynn-json5

Ready changes

Summary

  • Bump debhelper from old 12 to 13. ( package-uses-old-debhelper-compat-version )
  • Set field Upstream-Contact in debian/copyright.
  • Set upstream metadata fields: Bug-Database, Repository-Browse.
  • Remove obsolete fields Contact, Name from debian/upstream/metadata (already present in machine-readable debian/copyright).
  • Update standards version to 4.6.2, no changes needed. ( out-of-date-standards-version )

Diff

diff --git a/debian/control b/debian/control
index 7812304..9c5759b 100644
--- a/debian/control
+++ b/debian/control
@@ -5,12 +5,12 @@ Uploaders: Raju Devidas <rajudev@disroot.org>,
 Section: devel
 Testsuite: autopkgtest-pkg-go
 Priority: optional
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: debhelper-compat (= 13),
                dh-golang,
                golang-any,
                golang-github-kylelemons-godebug-dev,
                golang-github-robertkrimen-otto-dev
-Standards-Version: 4.4.1
+Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-flynn-json5
 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-flynn-json5.git
 Homepage: https://github.com/flynn/json5
diff --git a/debian/copyright b/debian/copyright
index b39e4da..68ad134 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,7 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: json5
 Source: https://github.com/flynn/json5
+Upstream-Contact: https://github.com/flynn/json5/issues
 
 Files: *
 Copyright: 2012, The Go Authors,
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
index f448356..0dd628d 100644
--- a/debian/upstream/metadata
+++ b/debian/upstream/metadata
@@ -1,9 +1,7 @@
 ---
 Archive: GitHub
-Bug-Database: https://github.com/flynn/json5/issues
+Bug-Database: https://github.com/titanous/json5/issues
 Bug-Submit: https://github.com/flynn/json5/issues
 Changelog: https://github.com/flynn/json5/tags
-Contact: https://github.com/flynn/json5/issues
-Name: json5
 Repository: https://github.com/flynn/json5.git
-Repository-Browse: https://github.com/flynn/json5
+Repository-Browse: https://github.com/titanous/json5

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

More details

Full run details