mirror of
https://github.com/goreleaser/nfpm
synced 2025-08-23 20:35:31 +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}}
|
{{- if .Info.Maintainer}}
|
||||||
Maintainer: {{.Info.Maintainer}}
|
Maintainer: {{.Info.Maintainer}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Info.Vendor}}
|
|
||||||
Vendor: {{.Info.Vendor}}
|
|
||||||
{{- end }}
|
|
||||||
Installed-Size: {{.InstalledSize}}
|
Installed-Size: {{.InstalledSize}}
|
||||||
{{- with .Info.Replaces}}
|
{{- with .Info.Replaces}}
|
||||||
Replaces: {{join .}}
|
Replaces: {{join .}}
|
||||||
|
1
deb/testdata/control.golden
vendored
1
deb/testdata/control.golden
vendored
@ -4,7 +4,6 @@ Section: default
|
|||||||
Priority: extra
|
Priority: extra
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Maintainer: Carlos A Becker <pkg@carlosbecker.com>
|
Maintainer: Carlos A Becker <pkg@carlosbecker.com>
|
||||||
Vendor: nope
|
|
||||||
Installed-Size: 10
|
Installed-Size: 10
|
||||||
Replaces: svn
|
Replaces: svn
|
||||||
Provides: bzr
|
Provides: bzr
|
||||||
|
1
deb/testdata/control2.golden
vendored
1
deb/testdata/control2.golden
vendored
@ -4,7 +4,6 @@ Section: default
|
|||||||
Priority: extra
|
Priority: extra
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Maintainer: Carlos A Becker <pkg@carlosbecker.com>
|
Maintainer: Carlos A Becker <pkg@carlosbecker.com>
|
||||||
Vendor: nope
|
|
||||||
Installed-Size: 10
|
Installed-Size: 10
|
||||||
Homepage: http://carlosbecker.com
|
Homepage: http://carlosbecker.com
|
||||||
Description: Foo does things
|
Description: Foo does things
|
||||||
|
Loading…
Reference in New Issue
Block a user