Re: Comments in spec files (was Re: Plan for tomorrows (20070517) FESCO meeting)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ?

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers

--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux