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

Bill Nottingham notting at redhat.com
Tue May 22 00:22:56 UTC 2007


Nicolas Mailhot (nicolas.mailhot at laposte.net) said: 
> > It's somewhat tricky to fix - you're asking rpm-the-parser to either
> > a) elide anything that starts with '#' from all scriplets, even though
> > it may be valid in some interpreter
> > b) conditionally elide it based on what the scriplet interpreter 
> 
> c) barf at rpmbuild time on non-shell scriptlets containing # lines

Sure, it's still adding parsing of the scriplets themselves to the parser.
And I'm sure someone will come up with a valid use for such a line with
%post -p /usr/bin/perl or somesuch.

Bill




More information about the Fedora-maintainers mailing list