[Rpm-maint] [rpm-software-management/rpm] Improve description of conditionals + comments in spec documentation (#830)

Panu Matilainen 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 <=
+\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...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190909/3ee9e4d7/attachment.html>

More information about the Rpm-maint mailing list