[Rpm-maint] [rpm-software-management/rpm] 'rpmbuild -br --nodeps' does not always generate buildreqs.nosrc.rpm (#781)

Igor Gnatenko notifications at github.com
Tue Jul 2 13:35:07 UTC 2019


```diff
diff --git a/build/build.c b/build/build.c
index bf92d22eb..3887457d3 100644
--- a/build/build.c
+++ b/build/build.c
@@ -200,10 +200,6 @@ static int doBuildRequires(rpmSpec spec, int test)
     argvSplit(&output, getStringBuf(sb_stdout), "\n\r");
     outc = argvCount(output);
 
-    if (!outc) {
-       goto exit;
-    }
-
     for (int i = 0; i < outc; i++) {
        parseRCPOT(spec, spec->sourcePackage, output[i], RPMTAG_REQUIRENAME,
                   0, 0, addReqProvPkg, NULL);
```

this should fix the problem...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/781#issuecomment-507679461
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190702/c900cb13/attachment.html>


More information about the Rpm-maint mailing list