Lintian Fixes - rust-memchr

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/src/memchr/debian/changelog b/src/memchr/debian/changelog
index 6ae85b12..246e1704 100644
--- a/src/memchr/debian/changelog
+++ b/src/memchr/debian/changelog
@@ -1,3 +1,11 @@
+rust-memchr (2.3.3-2) 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 06:26:16 -0000
+
 rust-memchr (2.3.3-1) unstable; urgency=medium
 
   * Package memchr 2.3.3 from crates.io using debcargo 2.4.3
diff --git a/src/memchr/debian/upstream/metadata b/src/memchr/debian/upstream/metadata
new file mode 100644
index 00000000..1544539b
--- /dev/null
+++ b/src/memchr/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/BurntSushi/rust-memchr/issues
+Bug-Submit: https://github.com/BurntSushi/rust-memchr/issues/new
+Repository: https://github.com/BurntSushi/rust-memchr.git
+Repository-Browse: https://github.com/BurntSushi/rust-memchr
diff --git a/src/memchr/debian/watch b/src/memchr/debian/watch
new file mode 100644
index 00000000..ae39e2c3
--- /dev/null
+++ b/src/memchr/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=filenamemangle=s/.*\/(\d\S+)\.tar\.gz/rust-memchr-$1\.tar\.gz/ https://github.com/BurntSushi/rust-memchr/tags .*\/(\d\S+)\.tar\.gz

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package librust-memchr+libc-dev

No differences were encountered between the control files of package librust-memchr-dev

Run locally

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

debcheckout rust-memchr
cd rust-memchr
lintian-brush

More details

Full run details