[Rpm-maint] [rpm-software-management/rpm] Cannot leave comments after %endif (#829)

pavlinamv notifications at github.com
Wed Sep 4 10:20:33 UTC 2019

>From Fedora documentation [1]: "_To include comments in the spec file, use a # character at the start of the line._" 
So the text "# with foo" in line
```%else # with foo```
is not a valid comment. If you need to use a comment near %else, you can write e.g.:

%if %{with foo}
# with foo

[1] https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Packagers_Guide/chap-Packagers_Guide-Spec_File_Reference-Comments.html

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/20190904/3752bf22/attachment-0001.html>

More information about the Rpm-maint mailing list