From d5b171e8107146e9099ac5b41fd537a0c75579f0 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Sun, 10 Jan 2021 16:59:05 +0000
Subject: [PATCH] Bullseye Debian metadata fixes

---
 debian/control | 2 +-
 debian/rules   | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index e122856f..0dd0ab49 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: keystore
 Section: admin
 Priority: optional
 Maintainer: Autistici/Inventati <debian@autistici.org>
-Build-Depends: debhelper (>=9), golang-any (>=1.11), dh-systemd, dh-golang
+Build-Depends: debhelper (>=9), golang-any (>=1.11), dh-golang
 Standards-Version: 3.9.6
 
 Package: keystored
diff --git a/debian/rules b/debian/rules
index 48180b0b..4bb466ba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,5 @@ export DH_GOLANG_EXCLUDES = vendor
 	dh $@ --with systemd --with golang --buildsystem golang
 
 override_dh_auto_install:
-	dh_auto_install
-	$(RM) -rv debian/tmp/usr/share/gocode
+	dh_auto_install -- --no-source
 
-- 
GitLab