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

Florian La Roche laroche at redhat.com
Tue May 22 10:16:19 UTC 2007


On Mon, May 21, 2007 at 08:22:56PM -0400, Bill Nottingham wrote:
> 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.

This should be only a warning and then you can argue if this should
be in rpm or in rpmlint.

regards,

Florian La Roche




More information about the Fedora-maintainers mailing list