On Nov 26, 2009, at 11:42 AM, Matthew Dawkins wrote:
>
>
> Ohh sorry, I thought that was clear. I would prefer to not have it
> show the errors. The query is handy to list what packages are to be
> built from a specfile, but I not sure that was it's original
> intention.
>
Thanks.
> If it is, then the other strange behavior would be that it lists the
> rpm for Name: even if the orignal Name may not have a %files list to
> be built.
RPM has lots of quirks, basically because the code has been tortured
beyond belief.
The fundamental design problem is that the spec file parser is not
side-effect free. In this case there are error messages, there's all
the whining about adding --nodeps with -bs, and your other request
is basically RPM is supposed to know what happens with a build
before the build completes.
I'll rearrange the build state machine next week to remove the
parsing side effects.
Prepare for a new set of complaints. There's no pleasing anybody imho.
73 de Jeff
Received on Thu Nov 26 19:14:38 2009