[Rpm-maint] [rpm-software-management/rpm] Improve description of conditionals + comments in spec documentation (#830)
notifications at github.com
Mon Sep 9 12:31:29 UTC 2019
pmatilai commented on this pull request.
> @@ -214,24 +214,67 @@ can express this as
BuildConflicts: gcc <= 188.8.131.52
+\section comments Comments
+Comments in spec file have # at the start of the line.
+ # this is a comment
+Macros are expanded in comments, thus if a macro is in comment use two percent
+characters before it:
I'd make that more like:
Macros are expanded even in comment lines. If this is undesireable, escape the macro with an extra percent sign (%):
Now that we have such a thing, it'd be good to mention %dnl as a less quirky way of adding comments to specs.
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...
More information about the Rpm-maint