[Rpm-maint] [rpm-software-management/rpm] Add a %cnl (continue next line) marker (#787)

nim-nim notifications at github.com
Tue Jul 9 16:24:08 UTC 2019

Sometimes rpm variables need contain long lines of things

and reviewers, prompted by rpmdevtool, will ask to break those lines to less than 80 columns

Unfortunately there is no easy way to break this kind of line without introducing line breaks in the variable content, that will then break shell and rpm macro code, and require the rewrite of basic macro code like `%if "%{?foo}" != ""`  into exotic contructs

it would be nice if there was a marker that told the rpm parser a line continues on the next line, but the linebreak is not significant.

(`%{shrink:}` will remove the linebreak but also munge other whitespace in the line, so it does not work as a solution)

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190709/36c2b053/attachment.html>

More information about the Rpm-maint mailing list