Adjust packaging for 1.6.0~alpha1

This commit is contained in:
Sébastien Delafond
2024-10-15 12:32:05 +02:00
parent 2b9a7914fd
commit 4fa420699b
9 changed files with 33 additions and 72 deletions
+6 -9
View File
@@ -1,19 +1,16 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
include /usr/share/dpkg/pkg-info.mk
%:
dh $@ --buildsystem=golang --with=golang,bash-completion
override_dh_auto_test:
# tests are failing for now and the pacakge vendors many libraries
# run during autopkgtests
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
echo $(DEB_VERSION) > obj-$(DEB_TARGET_GNU_TYPE)/src/github.com/aptly-dev/aptly/VERSION
dh_auto_build