From c9adcf12c8427d5d22ae4d7735d747f620ecc486 Mon Sep 17 00:00:00 2001 From: Michael van Elst Date: Fri, 17 Jan 2003 15:52:13 +0000 Subject: [PATCH] bail out on build errors --- xerces-c/xerces-c.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xerces-c/xerces-c.spec b/xerces-c/xerces-c.spec index 5150abbbde..08db6debe2 100644 --- a/xerces-c/xerces-c.spec +++ b/xerces-c/xerces-c.spec @@ -37,7 +37,7 @@ Distribution: OpenPKG [EVAL] Group: Web License: Apache Software License 1.1 Version: %{V_opkg} -Release: 20030103 +Release: 20030117 # package options %option with_pth no @@ -147,7 +147,7 @@ AutoReqProv: no -cgcc \ -xc++ %{l_make} %{l_mflags} - ) + ) || exit $? %install ( XERCESCROOT=`pwd` @@ -163,7 +163,7 @@ AutoReqProv: no $i $RPM_BUILD_ROOT%{l_prefix}/libexec/xerces-c fi done - ) + ) || exit $? %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %files -f files