Open ccaneke opened 6 years ago
Based on reading the fpm code history, it is intentional that blank lines are emitted by fpm's rpm template as being .
instead of blank lines:
The code has a comment explaining that this is because rpmbuild will fail if a description has a blank line.
However, if I test this on a modern-ish Linux (Fedora 23), it appears to accept blank lines in the %description field.
i don't know what kind of breaking change it would be to disable this, though.
The description starts from the second line instead of the first
This is the output of rpm
on an official/upstream package from Fedora itself:
% rpm -q gd --info | grep -A2 Description
Description :
The gd graphics library allows your code to quickly draw images
complete with lines, arcs, text, multiple colors, cut and paste from
The description starting on the rpm -q --info
output on the 2nd line after 'Description' appears to be normal.
Using the
--rpm-summary
and--description
causes three things:Examples:
Using the command:
--description "$(printf "long_string_with_\n_backslash escapes ")"
gives the following