Skip to content

Commit 904167a

Browse files
elboulangerostapelberg
authored andcommitted
Remove shlibs:Depends from library packages (#90)
Signed-off-by: Arnaud Rebillout <[email protected]>
1 parent b57c318 commit 904167a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

make.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,10 +502,11 @@ func writeTemplates(dir, gopkg, debsrc, debbin, debversion, pkgType string, depe
502502
fmt.Fprintf(f, "Testsuite: autopkgtest-pkg-go\n")
503503
fmt.Fprintf(f, "\n")
504504
fmt.Fprintf(f, "Package: %s\n", debbin)
505-
deps := []string{"${shlibs:Depends}", "${misc:Depends}"}
505+
deps := []string{"${misc:Depends}"}
506506
if pkgType == "program" {
507507
fmt.Fprintf(f, "Architecture: any\n")
508508
fmt.Fprintf(f, "Built-Using: ${misc:Built-Using}\n")
509+
deps = append(deps, "${shlibs:Depends}")
509510
} else {
510511
fmt.Fprintf(f, "Architecture: all\n")
511512
deps = append(deps, dependencies...)

0 commit comments

Comments
 (0)