Pass version from d/rules (Closes: #968585)

This commit is contained in:
Sébastien Delafond
2020-08-21 10:11:45 +02:00
parent 63bc8282a0
commit 1308c2f774
+5
View File
@@ -4,11 +4,16 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
include /usr/share/dpkg/pkg-info.mk
override_dh_auto_test:
# tests are failing for now and the pacakge vendors many libraries
override_dh_auto_install:
dh_auto_install -- --no-source
override_dh_auto_build:
dh_auto_build -- -ldflags "-X main.Version=$(DEB_VERSION)"
%:
dh $@ --buildsystem=golang --with=golang,bash-completion