From fed8876847e3bd9530f7d4c68f30b43a69aede97 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Mon, 1 Jun 2020 15:24:40 +0100
Subject: [PATCH] Set XS-Go-Import-Path instead of DH_GOPKG

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

diff --git a/debian/control b/debian/control
index 63e9f05..70500c7 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Priority: optional
 Maintainer: ale <ale@incal.net>
 Build-Depends: debhelper (>= 11), dh-golang, golang-any
 Standards-Version: 4.1.3
+XS-Go-Import-Path: git.autistici.org/ai3/tools/postfix-policyd-proxy
 
 Package: postfix-policyd-proxy
 Architecture: any
diff --git a/debian/rules b/debian/rules
index f445bd3..4cecad8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,6 @@
 #!/usr/bin/make -f
 
-export DH_GOPKG = git.autistici.org/ai3/tools/postfix-policyd-proxy
-export DH_GOLANG_EXCLUDES = vendor
+export DH_GOLANG_EXCLUDES := vendor
 
 %:
 	dh $@ --with=golang
-- 
GitLab