diff --git a/debian/control b/debian/control index b371968a..f00d88e4 100644 --- a/debian/control +++ b/debian/control @@ -83,6 +83,7 @@ Homepage: https://www.aptly.info Vcs-Git: https://github.com/aptly-dev/aptly.git Vcs-Browser: https://github.com/aptly-dev/aptly XS-Go-Import-Path: github.com/aptly-dev/aptly +Testsuite: autopkgtest-pkg-go Package: aptly Architecture: any diff --git a/debian/rules b/debian/rules index 4d29e759..1f8bcddd 100755 --- a/debian/rules +++ b/debian/rules @@ -20,15 +20,8 @@ override_dh_auto_clean: rm -rf obj-$(DEB_TARGET_GNU_TYPE)/ dh_auto_clean -override_dh_auto_build: - echo $(DEB_VERSION) > VERSION - go build -o build/aptly - - # when dependencies fully debianized: - # echo $(DEB_VERSION) > obj-$(DEB_TARGET_GNU_TYPE)/src/github.com/aptly-dev/aptly/VERSION - # dh_auto_build - override_dh_auto_test: + # run during autopkgtests override_dh_auto_install: dh_auto_install -- --no-source