Lintian Fixes - icingaweb2-module-audit

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index c8d5d22..95e7ac0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+icingaweb2-module-audit (1.0.0-3) UNRELEASED; urgency=low
+
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Add debian/watch file, using github.
+  * Remove Section on icingaweb2-module-audit that duplicates source.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 11 Jul 2020 16:59:14 -0000
+
 icingaweb2-module-audit (1.0.0-2) unstable; urgency=medium
 
   * Updating debhelper.
diff --git a/debian/control b/debian/control
index 9efc746..0a4d6c8 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,6 @@ Vcs-Browser: https://salsa.debian.org/david-guest/icingaweb2-module-audit
 Vcs-Git: https://salsa.debian.org/david-guest/icingaweb2-module-audit.git
 
 Package: icingaweb2-module-audit
-Section: admin
 Architecture: all
 Depends:
  icingaweb2,
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..19de7a3
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/Icinga/icingaweb2-module-audit/issues
+Bug-Submit: https://github.com/Icinga/icingaweb2-module-audit/issues/new
+Repository: https://github.com/Icinga/icingaweb2-module-audit.git
+Repository-Browse: https://github.com/Icinga/icingaweb2-module-audit
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..37b1ed6
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+opts=filenamemangle=s/.*\/v(\d\S+)\.tar\.gz/icingaweb2-module-audit-$1\.tar\.gz/ https://github.com/Icinga/icingaweb2-module-audit/tags .*\/v(\d\S+)\.tar\.gz

Run locally

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

debcheckout icingaweb2-module-audit
cd icingaweb2-module-audit
lintian-brush

More details

Full run details