mirror of
https://github.com/goreleaser/nfpm
synced 2025-04-30 14:18:01 +02:00
fix: vendor is not a recognized deb control field (#446)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
This commit is contained in:
parent
c2aabd26f4
commit
3ea7b84aa0
@ -688,9 +688,6 @@ Architecture: {{.Info.Arch}}
|
||||
{{- if .Info.Maintainer}}
|
||||
Maintainer: {{.Info.Maintainer}}
|
||||
{{- end }}
|
||||
{{- if .Info.Vendor}}
|
||||
Vendor: {{.Info.Vendor}}
|
||||
{{- end }}
|
||||
Installed-Size: {{.InstalledSize}}
|
||||
{{- with .Info.Replaces}}
|
||||
Replaces: {{join .}}
|
||||
|
1
deb/testdata/control.golden
vendored
1
deb/testdata/control.golden
vendored
@ -4,7 +4,6 @@ Section: default
|
||||
Priority: extra
|
||||
Architecture: amd64
|
||||
Maintainer: Carlos A Becker <pkg@carlosbecker.com>
|
||||
Vendor: nope
|
||||
Installed-Size: 10
|
||||
Replaces: svn
|
||||
Provides: bzr
|
||||
|
1
deb/testdata/control2.golden
vendored
1
deb/testdata/control2.golden
vendored
@ -4,7 +4,6 @@ Section: default
|
||||
Priority: extra
|
||||
Architecture: amd64
|
||||
Maintainer: Carlos A Becker <pkg@carlosbecker.com>
|
||||
Vendor: nope
|
||||
Installed-Size: 10
|
||||
Homepage: http://carlosbecker.com
|
||||
Description: Foo does things
|
||||
|
Loading…
Reference in New Issue
Block a user