Lintian Fixes - rust-libflate

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/src/libflate/debian/changelog b/src/libflate/debian/changelog
index c1d71ca8..e13264b5 100644
--- a/src/libflate/debian/changelog
+++ b/src/libflate/debian/changelog
@@ -1,3 +1,11 @@
+rust-libflate (0.1.25-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 17:10:36 -0000
+
 rust-libflate (0.1.25-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/src/libflate/debian/upstream/metadata b/src/libflate/debian/upstream/metadata
new file mode 100644
index 00000000..9d79adca
--- /dev/null
+++ b/src/libflate/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/sile/libflate/issues
+Bug-Submit: https://github.com/sile/libflate/issues/new
+Repository: https://github.com/sile/libflate.git
+Repository-Browse: https://github.com/sile/libflate
diff --git a/src/libflate/debian/watch b/src/libflate/debian/watch
new file mode 100644
index 00000000..a23c160d
--- /dev/null
+++ b/src/libflate/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=filenamemangle=s/.*\/(\d\S+)\.tar\.gz/libflate-$1\.tar\.gz/ https://github.com/sile/libflate/tags .*\/(\d\S+)\.tar\.gz

Run locally

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

debcheckout rust-libflate
cd rust-libflate
lintian-brush

More details

Full run details