Lintian Fixes - rust-unicode-segmentation

Ready changes

Merge these changes:

Summary

Diff

diff --git a/src/unicode-segmentation/debian/changelog b/src/unicode-segmentation/debian/changelog
index 31e1292a..2404f615 100644
--- a/src/unicode-segmentation/debian/changelog
+++ b/src/unicode-segmentation/debian/changelog
@@ -1,3 +1,11 @@
+rust-unicode-segmentation (1.6.0-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 15:26:49 -0000
+
 rust-unicode-segmentation (1.6.0-1) unstable; urgency=medium
 
   * Package unicode-segmentation 1.6.0 from crates.io using debcargo 2.4.2
diff --git a/src/unicode-segmentation/debian/upstream/metadata b/src/unicode-segmentation/debian/upstream/metadata
new file mode 100644
index 00000000..b5b2dfcc
--- /dev/null
+++ b/src/unicode-segmentation/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/unicode-rs/unicode-segmentation/issues
+Bug-Submit: https://github.com/unicode-rs/unicode-segmentation/issues/new
+Repository: https://github.com/unicode-rs/unicode-segmentation.git
+Repository-Browse: https://github.com/unicode-rs/unicode-segmentation
diff --git a/src/unicode-segmentation/debian/watch b/src/unicode-segmentation/debian/watch
new file mode 100644
index 00000000..cc97214d
--- /dev/null
+++ b/src/unicode-segmentation/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=filenamemangle=s/.*\/v(\d\S+)\.tar\.gz/unicode-segmentation-$1\.tar\.gz/ https://github.com/unicode-rs/unicode-segmentation/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-unicode-segmentation
cd rust-unicode-segmentation
lintian-brush

More details

Full run details