diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index b4de394..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-11
diff --git a/debian/control b/debian/control
index cf2ea67..dcdd000 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: mdp-src
 Section: misc
 Priority: optional
 Maintainer: Lev Lamberov <dogsleg@debian.org>
-Build-Depends: debhelper (>= 11),
+Build-Depends: debhelper-compat (= 12),
                libncurses-dev,
                libtinfo-dev,
                lsb-release
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..93e2239
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/visit1985/mdp/issues
+Bug-Submit: https://github.com/visit1985/mdp/issues/new
+Repository: https://github.com/visit1985/mdp.git
+Repository-Browse: https://github.com/visit1985/mdp