diff --git a/debian/changelog b/debian/changelog
index f049c52..546a3d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,12 @@ libdata-visitor-perl (0.30-3) UNRELEASED; urgency=medium
   [ gregor herrmann ]
   * debian/watch: use uscan version 4.
 
+  [ Debian Janitor ]
+  * Bump debhelper from deprecated 9 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Repository, Repository-
+    Browse.
+
  -- gregor herrmann <gregoa@debian.org>  Sat, 20 Aug 2016 02:25:37 +0200
 
 libdata-visitor-perl (0.30-2) unstable; urgency=medium
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index ec63514..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/debian/control b/debian/control
index 516ae5c..08e46b1 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: gregor herrmann <gregoa@debian.org>,
 Section: perl
 Testsuite: autopkgtest-pkg-perl
 Priority: optional
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper-compat (= 12)
 Build-Depends-Indep: perl,
                      libclass-load-perl,
                      libmoose-perl,
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..3ae0c8d
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+Bug-Database: http://rt.cpan.org/Public/Dist/Display.html?Name=Data-Visitor
+Repository: https://github.com/doy/data-visitor.git
+Repository-Browse: https://github.com/doy/data-visitor