Mailinglist Archive: opensuse-buildservice (252 mails)

< Previous Next >
Re: [opensuse-buildservice] Only src.rpm build
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Fri, 15 Sep 2006 15:35:47 +0200
  • Message-id: <20060915133547.GA19268@xxxxxxx>
On Fri, Sep 15, 2006 at 03:35:46PM +0200, Dennis Sieben wrote:
> Yes that was it. Thanks.
>
> Is there any chance that these syntax errors can be detected inside the
> buildservice? If the buildservice could give an error message like syntax
> error in spec file it would be fine. Just building the src.rpm leaves open
> too many possible reasons.

Unfortunately it can't. Only rpm can correctly parse spec files, and
rpms syntax checks are very lacking.
So the right fix would be to patch rpmbuild so that it is an error
if it detects unbalanced {}.

Sorry,
Michael.

--
Michael Schroeder mls@xxxxxxx
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >