[Rpm-maint] [rpm-software-management/rpm] Incorrect parsing of `%description` block (Issue #4121)

Коренберг Марк notifications at github.com
Thu Mar 5 07:55:32 UTC 2026


socketpair left a comment (rpm-software-management/rpm#4121)

I would suggest this logic: the last set of lines in `%description` containig only:
1. empty lines
2. lines with whitespace only
3. comments

should be considered not as a port of %description.

i.e. all tail lines matching regex:

`^\s*(#.*)?$`

should not be part of `%description`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/4121#issuecomment-4003057208
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/4121/4003057208 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260304/245d2f4b/attachment.htm>


More information about the Rpm-maint mailing list