Lintian Fixes - rust-json

Ready changes

Merge these changes:

git pull https://janitor.debian.net/git/rust-json lintian-fixes/main

Summary

Diff

diff --git a/src/json/debian/changelog b/src/json/debian/changelog
index d12d1bcb..c193f4fd 100644
--- a/src/json/debian/changelog
+++ b/src/json/debian/changelog
@@ -1,3 +1,11 @@
+rust-json (0.12.0-3) UNRELEASED; urgency=medium
+
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Add debian/watch file, using github.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 11 Mar 2021 09:02:03 -0000
+
 rust-json (0.12.0-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/src/json/debian/upstream/metadata b/src/json/debian/upstream/metadata
new file mode 100644
index 00000000..3d65bda6
--- /dev/null
+++ b/src/json/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/maciejhirsz/json-rust/issues
+Bug-Submit: https://github.com/maciejhirsz/json-rust/issues/new
+Repository: https://github.com/maciejhirsz/json-rust.git
+Repository-Browse: https://github.com/maciejhirsz/json-rust
diff --git a/src/json/debian/watch b/src/json/debian/watch
new file mode 100644
index 00000000..c88cc09c
--- /dev/null
+++ b/src/json/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=filenamemangle=s/.*\/v(\d\S+)\.tar\.gz/json-rust-$1\.tar\.gz/ https://github.com/maciejhirsz/json-rust/tags .*\/v(\d\S+)\.tar\.gz

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

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

debcheckout rust-json
cd rust-json
lintian-brush

More details

Full run details