diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2..0000000000000000000000000000000000000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index 0b24a6ec7b75f921e6f45953c870cb22c08a29a7..5537921373c0d83d5b8b6b2416af9a8b1ebf6cdd 100644
--- a/debian/control
+++ b/debian/control
@@ -2,13 +2,14 @@ Source: rsyslog-exporter
 Section: admin
 Priority: optional
 Maintainer: Autistici/Inventati <debian@autistici.org>
-Build-Depends: debhelper (>=9), golang-any, dh-golang,
+Build-Depends: debhelper-compat (= 12),
+ golang-any, dh-golang,
  golang-github-prometheus-client-golang-dev
 Standards-Version: 3.9.6
 
 Package: rsyslog-exporter
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, rsyslog
+Built-Using: ${misc:Built-Using}
 Description: Rsyslog Prometheus exporter.
  Exports rsyslogd metrics to Prometheus.
-
diff --git a/debian/rules b/debian/rules
index 9802941770f3ee1e327927f7e5b249ada8499fcf..a727200d2b136a8a3814b0c3606444159721b291 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,4 +10,3 @@ export DH_GOLANG_EXCLUDES = vendor
 override_dh_install:
 	rm -fr $(CURDIR)/debian/rsyslog-exporter/usr/share/gocode
 	dh_install
-