On Tue, 27 Dec 2022 12:29:21 -0600
Ron Olson <tachokni...@gmail.com> wrote:

> Hey all-
> 
> I commented out a SOURCES line in a spec file to test something and
> got an interesting warning: “Macro expanded in comment on line …”. I
> assume it’s just that, a warning, but was kinda surprised to see a
> commented-out line being evaluated at all. I did some searching and
> came across this BZ from 2015:
> https://bugzilla.redhat.com/show_bug.cgi?id=1224660 that seems to
> suggest there’s a better way (%dnl), so if I want to comment
> something out instead of putting a # in front of the line, I should
> use %dnl?

Thank you for asking this question.  When I got this error, I just
replaced the percent with a hash.  Now I can do it properly and just
put %dnl at the start of the line.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to