Skip to content

Conversation

abemedia
Copy link
Contributor

Blank lines in the deb's control file description are valid but need to be encoded with a space followed by a dot (.).

See https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-description.

Those containing a single space followed by a single full stop character. These are rendered as blank lines. This is the only way to get a blank line.

I used nfpm to package one of my apps and it was broken as it did not add the dots onto the blank lines. This PR fixes that.

@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 24, 2023
@abemedia abemedia requested a review from caarlos0 November 25, 2023 11:29
@caarlos0 caarlos0 merged commit 3485ec3 into goreleaser:main Nov 25, 2023
@caarlos0
Copy link
Member

Thank you 🙏

@abemedia abemedia deleted the fix/deb-blank-line branch November 25, 2023 17:46
dominikschulz added a commit to dominikschulz/gopass that referenced this pull request Nov 29, 2023
Fixes gopasspw#2728

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
dominikschulz added a commit to gopasspw/gopass that referenced this pull request Nov 29, 2023
Fixes #2728

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
@caarlos0 caarlos0 added this to the v2.35.0 milestone Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants