Lintian Fixes - rust-ipnet

Ready changes

Merge these changes:

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

Summary

Diff

diff --git a/src/ipnet/debian/changelog b/src/ipnet/debian/changelog
index 4084d7ae..aaf2fecd 100644
--- a/src/ipnet/debian/changelog
+++ b/src/ipnet/debian/changelog
@@ -1,3 +1,11 @@
+rust-ipnet (2.2.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 13:27:56 -0000
+
 rust-ipnet (2.2.0-1) unstable; urgency=medium
 
   * Package ipnet 2.2.0 from crates.io using debcargo 2.4.2
diff --git a/src/ipnet/debian/upstream/metadata b/src/ipnet/debian/upstream/metadata
new file mode 100644
index 00000000..31a4f16b
--- /dev/null
+++ b/src/ipnet/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/krisprice/ipnet/issues
+Bug-Submit: https://github.com/krisprice/ipnet/issues/new
+Repository: https://github.com/krisprice/ipnet.git
+Repository-Browse: https://github.com/krisprice/ipnet
diff --git a/src/ipnet/debian/watch b/src/ipnet/debian/watch
new file mode 100644
index 00000000..fa749d46
--- /dev/null
+++ b/src/ipnet/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=filenamemangle=s/.*\/(\d\S+)\.tar\.gz/ipnet-$1\.tar\.gz/ https://github.com/krisprice/ipnet/tags .*\/(\d\S+)\.tar\.gz

Debdiff

File lists identical (after any substitutions)

No differences were encountered between the control files of package librust-ipnet+serde-dev

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

Run locally

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

debcheckout rust-ipnet
cd rust-ipnet
lintian-brush

More details

Full run details