[Rpm-maint] [rpm-software-management/rpm] Error if a macro in a comment is expanded to multiple lines (#124)

Bernhard M. Wiedemann notifications at github.com
Mon Feb 20 05:53:44 UTC 2017


> And this outlaws commenting multiline macros. Which, if you really think about it, seems totally absurd.

The point is that commenting out multi-line macros never worked. If I understand it correctly, it expanded to a commented first line and left the remaining lines uncommented which can cause any very unexpected behaviour. That is why there was a warning in the first place.

In practice, as one of those thousand packagers, I learned to change
`%some_macro` to `#some_macro`
which avoids all the trouble.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/124#issuecomment-280994218
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170219/9a6e6085/attachment.html>


More information about the Rpm-maint mailing list