diff options
-rw-r--r-- | build/build.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/build.c b/build/build.c index 04c59ad5b..42f9382f5 100644 --- a/build/build.c +++ b/build/build.c @@ -200,8 +200,9 @@ static int doBuildRequires(rpmSpec spec, int test) outc = argvCount(output); for (int i = 0; i < outc; i++) { - parseRCPOT(spec, spec->sourcePackage, output[i], RPMTAG_REQUIRENAME, - 0, RPMSENSE_FIND_REQUIRES, addReqProvPkg, NULL); + if (parseRCPOT(spec, spec->sourcePackage, output[i], RPMTAG_REQUIRENAME, + 0, RPMSENSE_FIND_REQUIRES, addReqProvPkg, NULL)) + goto exit; } rpmdsPutToHeader( |