[Rpm-maint] [rpm-software-management/rpm] Dynamic Build Dependencies (#593)
Pavel Raiskup
notifications at github.com
Tue Mar 12 06:21:10 UTC 2019
praiskup commented on this pull request.
> + // XXX set flags
+
+ rpmdsPutToHeader(*packageDependencies(spec->sourcePackage, RPMTAG_REQUIRENAME), spec->sourcePackage->header);
+
+ rpmps ps = rpmSpecCheckDeps(ts, spec);
+
+ if (ps) {
+ rpmlog(RPMLOG_ERR, _("Failed build dependencies:\n"));
+ rpmpsPrint(NULL, ps);
+ }
+ rc = (ps != NULL);
+ rpmpsFree(ps);
+ rpmtsFree(ts);
+
+ if (rc == 0) {
+ parseRCPOT(spec, spec->sourcePackage, "DynamicBuildRequires = 4.15", RPMTAG_PROVIDENAME, 0, 0, addReqProvPkg , NULL);
RPMTAG_REQUIRENAME and put it to header?
--
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#pullrequestreview-213210915
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190311/35c6234f/attachment.html>
More information about the Rpm-maint
mailing list