Comments in spec files (was Re: Plan for tomorrows (20070517) FESCO meeting)
Denis Leroy
denis at poolshark.org
Sat May 19 13:50:40 UTC 2007
Michael Schwendt wrote:
> On Sat, 19 May 2007 14:54:11 +0200, Denis Leroy wrote:
>
>> Tom "spot" Callaway wrote:
>>> All we're asking (well, maybe all _I_ am asking) is that when people
>>> feel like they need to break one of the guidelines, they present their
>>> case and document that case in the spec file.
>> On that topic, how does one write comments in a spec file ?
>
> # Like this
> ## or this in many script languages.
>
>> I remember a
>> few years ago I was asked to remove all '# comments' lines from
>> scriptlets apparently because they "could cause problems"...
>
> No. You were only asked to not add such comment lines _after_ scriptlet
> sections in the spec file, because the comments would be included in the
> scriptlet bodies, even if a scriptlet section is passed to /sbin/ldconfig,
> which doesn't understand the contents and breaks badly.
Ok, so
%install
# comment
make something
is not good. But
# comment
%install
make something
is good ?
More information about the Fedora-maintainers
mailing list