From bc2b24e38a6e2753631414e81af504a25a56d724 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Thu, 27 May 2021 11:56:33 +0100
Subject: [PATCH] Update debian metadata

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

diff --git a/debian/control b/debian/control
index 96747a4..e88709c 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Section: net
 Priority: extra
 Maintainer: Autistici/Inventati <debian@autistici.org>
 Build-Depends: debhelper (>= 8.0.0), golang-any (>= 1.11), dh-golang, dh-systemd
-Standards-Version: 3.9.4
+Standards-Version: 3.9.6
+XS-Go-Import-Path: git.autistici.org/ai3/tools/float-debug-proxy
 
 Package: float-debug-proxy
 Architecture: any
diff --git a/debian/rules b/debian/rules
index bac1440..53f2afb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,6 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-# This has to be exported to make some magic below work.
-export DH_OPTIONS
-
-export DH_GOPKG = git.autistici.org/ai3/tools/float-debug-proxy
 export DH_GOLANG_EXCLUDES = vendor
 
 %:
@@ -13,6 +9,5 @@ export DH_GOLANG_EXCLUDES = vendor
 override_dh_auto_test:
 
 override_dh_auto_install:
-	dh_auto_install
-	$(RM) -rv debian/float-debug-proxy/usr/share/gocode
+	dh_auto_install -- --no-source
 
-- 
GitLab