[Rpm-maint] [rpm-software-management/rpm] Dynamic Build Dependencies (#593)
Panu Matilainen
notifications at github.com
Mon Apr 8 12:12:48 UTC 2019
pmatilai commented on this pull request.
> + rpmtsSetFlags(ts, rpmtsFlags(ts) | RPMTRANS_FLAG_NOPLUGINS);
+
+ rpmps ps = rpmSpecCheckDeps(ts, spec);
+
+ if (ps) {
+ rpmlog(RPMLOG_ERR, _("Failed build dependencies:\n"));
+ rpmpsPrint(NULL, ps);
+ }
+ if (ps != NULL)
+ rc = RPMRC_MISSINGBUILDREQUIRES;
+ rpmpsFree(ps);
+ rpmtsFree(ts);
+
+ return rc;
+}
+
Hmm, actually if the buildrequire-checking is moved entirely to librpmbuild-side then it's probably better to make the transaction set a direct argument of rpmSpecBuild() to make the change explicit.
--
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/pull/593#discussion_r273014247
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190408/8d20396c/attachment.html>
More information about the Rpm-maint
mailing list