Lintian Fixes - rust-path-slash

Ready changes

Merge these changes:

Summary

Diff

diff --git a/src/path-slash/debian/changelog b/src/path-slash/debian/changelog
index 59926546..c550c898 100644
--- a/src/path-slash/debian/changelog
+++ b/src/path-slash/debian/changelog
@@ -1,3 +1,11 @@
+rust-path-slash (0.1.1-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 16:41:56 -0000
+
 rust-path-slash (0.1.1-1) unstable; urgency=medium
 
   * Package path-slash 0.1.1 from crates.io using debcargo 2.4.0
diff --git a/src/path-slash/debian/upstream/metadata b/src/path-slash/debian/upstream/metadata
new file mode 100644
index 00000000..70a92b79
--- /dev/null
+++ b/src/path-slash/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/rhysd/path-slash/issues
+Bug-Submit: https://github.com/rhysd/path-slash/issues/new
+Repository: https://github.com/rhysd/path-slash.git
+Repository-Browse: https://github.com/rhysd/path-slash
diff --git a/src/path-slash/debian/watch b/src/path-slash/debian/watch
new file mode 100644
index 00000000..d935e8ac
--- /dev/null
+++ b/src/path-slash/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=filenamemangle=s/.*\/(\d\S+)\.tar\.gz/path-slash-$1\.tar\.gz/ https://github.com/rhysd/path-slash/tags .*\/(\d\S+)\.tar\.gz

Run locally

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

debcheckout rust-path-slash
cd rust-path-slash
lintian-brush

More details

Full run details