Skip to content

Commit 75f0883

Browse files
guillemjanthonyfok
authored andcommitted
Use new dh-sequence-golang instead of dh-golang and --with=golang
1 parent 1f3d770 commit 75f0883

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

check_depends_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Testsuite: autopkgtest-pkg-go
1818
Priority: optional
1919
Build-Depends:
2020
debhelper-compat (= 13),
21-
dh-golang,
21+
dh-sequence-golang,
2222
golang-any,
2323
golang-github-advancedlogic-goose-dev,
2424
golang-github-fatih-color-dev,

template.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func writeDebianControl(dir, gopkg, debsrc, debLib, debProg string, pkgType pack
164164

165165
builddeps := append([]string{
166166
"debhelper-compat (= 13)",
167-
"dh-golang",
167+
"dh-sequence-golang",
168168
"golang-any"},
169169
dependencies...)
170170
sort.Strings(builddeps)
@@ -264,7 +264,7 @@ func writeDebianRules(dir string, pkgType packageType) error {
264264
fmt.Fprintf(f, "#!/usr/bin/make -f\n")
265265
fmt.Fprintf(f, "\n")
266266
fmt.Fprintf(f, "%%:\n")
267-
fmt.Fprintf(f, "\tdh $@ --builddirectory=_build --buildsystem=golang --with=golang\n")
267+
fmt.Fprintf(f, "\tdh $@ --builddirectory=_build --buildsystem=golang\n")
268268
if pkgType == typeProgram {
269269
fmt.Fprintf(f, "\n")
270270
fmt.Fprintf(f, "override_dh_auto_install:\n")

0 commit comments

Comments
 (0)