Package: pluginhook Severity: wishlist Tags: patch Using the XS-Go-Import-Path field in debian/control is preferable over using DH_GOPKG in debian/rules, because the former shows up in a machine-readable way in Sources files, and can hence be easily picked up by tooling.
Please apply the attached patch and upload a new version to the archive. Thanks! PS: Also consider team-maintaining this package in the pkg-go team, where we could automatically apply such trivial fixes. See http://pkg-go.alioth.debian.org/ -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386, armel, mipsel, arm64 Kernel: Linux 4.13.0-1-amd64 (SMP w/12 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
>From 2530733cb221dcfacc0b7d2134ad45240815e83f Mon Sep 17 00:00:00 2001 From: Michael Stapelberg <mich...@stapelberg.de> Date: Sat, 10 Feb 2018 17:22:23 +0100 Subject: [PATCH 1/2] Switch to XS-Go-Import-Path --- debian/control | 1 + debian/rules | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 2e0fb2b..8b4afb6 100644 --- a/debian/control +++ b/debian/control @@ -10,6 +10,7 @@ Build-Depends: golang-godebiancontrol-dev Standards-Version: 3.9.6 Homepage: http://github.com/progrium/pluginhook +XS-Go-Import-Path: github.com/progrium/pluginhook Package: pluginhook Architecture: any diff --git a/debian/rules b/debian/rules index 068ad7d..b055525 100755 --- a/debian/rules +++ b/debian/rules @@ -3,7 +3,6 @@ export DH_OPTIONS export DH_VERBOSE=1 -export DH_GOPKG := github.com/progrium/pluginhook %: dh $@ --buildsystem=golang --with=golang -- 2.15.1