Browse Source

bail out on build errors

Michael van Elst 23 years ago
parent
commit
c9adcf12c8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      xerces-c/xerces-c.spec

+ 3 - 3
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