Lintian Fixes - rust-rustc-cfg

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/src/rustc-cfg/debian/changelog b/src/rustc-cfg/debian/changelog
index 827c5593..69a74840 100644
--- a/src/rustc-cfg/debian/changelog
+++ b/src/rustc-cfg/debian/changelog
@@ -1,3 +1,11 @@
+rust-rustc-cfg (0.4.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 13:25:53 -0000
+
 rust-rustc-cfg (0.4.0-2) unstable; urgency=medium
 
   * Source upload
diff --git a/src/rustc-cfg/debian/upstream/metadata b/src/rustc-cfg/debian/upstream/metadata
new file mode 100644
index 00000000..3f99c7d6
--- /dev/null
+++ b/src/rustc-cfg/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/japaric/rustc-cfg/issues
+Bug-Submit: https://github.com/japaric/rustc-cfg/issues/new
+Repository: https://github.com/japaric/rustc-cfg.git
+Repository-Browse: https://github.com/japaric/rustc-cfg
diff --git a/src/rustc-cfg/debian/watch b/src/rustc-cfg/debian/watch
new file mode 100644
index 00000000..aa8f09ac
--- /dev/null
+++ b/src/rustc-cfg/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=filenamemangle=s/.*\/v(\d\S+)\.tar\.gz/rustc-cfg-$1\.tar\.gz/ https://github.com/japaric/rustc-cfg/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-rustc-cfg
cd rust-rustc-cfg
lintian-brush

More details

Full run details