[Rpm-maint] [rpm-software-management/rpm] Dynamic Build Dependencies (#593)

Miroslav Suchý notifications at github.com
Mon Dec 3 16:45:48 UTC 2018


Mock will have to parse output of rpmbuild - in case the rpmbuild fails due ` %generate_buildrequires`. Parsing the output for  `_("Failed build dependencies:\n")` is suboptimal. Especially because of `_()` and because `rpmpsPrint()` use `fprintf(f, "\t%s\n", msg);`. Can I have something machine friendly? Either:

* `--parse` - Optimize the command output for easy parsing. Where the packages are on one line, comma separated. And the line is not localized.
* `--generate_buildrequires-to-file` `FILE` which will put the needed build requires to separated file. (This needs to be documented how to interpret `--root` option)
* or something else

-- 
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#issuecomment-443779540
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181203/0eb38d02/attachment.html>


More information about the Rpm-maint mailing list