Mailinglist Archive: opensuse-buildservice (177 mails)

< Previous Next >
Re: [opensuse-buildservice] RPM %error does not stop build

On 12/02/2016 07:28 PM, Jan Engelhardt wrote:
On Friday 2016-12-02 09:08, Philipp Thomas wrote:

Hi Jan,

* jan matejek (jmatejek@xxxxxxxx) [20161201 18:34]:

Is there another option to stop the build, preferably from an arbitrary
place in the spec file?

How about a plain 'exit 1'?

Summary: exit 1

Sorry, does not work. SCNR :-)

"foo-bar 1" probably exits with a "foo-bar command not found error" but
this is likely not a sensible solution to the problem.


Simon Lees (Simotek)

Emergency Update Team
SUSE Linux Adeliade Australia, UTC+9:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

< Previous Next >
List Navigation