mirror of
https://github.com/goreleaser/nfpm
synced 2024-11-19 07:34:48 +01:00
052766cdfa
The Debian policy[1] declares the following control file fields as required for binary packages: * Package * Version * Section * Priority * Architecture * Maintainer * Description All other fields are optional. A few programs handling .deb packages emit warnings when optional fields exist without a value. With this change the template generating the control file is updated to omit empty values. Comments are added to denote mandatory fields. A newly added test verifies the generated control file. [1] <https://www.debian.org/doc/debian-policy/ch-controlfields.html# binary-package-control-files-debian-control> Signed-off-by: Michael Hanselmann <public@hansmi.ch>
8 lines
137 B
Plaintext
8 lines
137 B
Plaintext
Package: minimal
|
|
Version: 1.0.0
|
|
Section: default
|
|
Priority: extra
|
|
Architecture: arm64
|
|
Installed-Size: 0
|
|
Description: Minimal does nothing
|