On 07/26/2018 11:52 AM, Igor Gnatenko wrote: >>> Note that mizdebsk already had such tool for quite some time. >>> >> >> Do you have a reference? >> > > CCing Mikolaj. Latest version of the code Igor is talking about is available at [1]. The tool is targeted for solving specific problem - generating modulemd files, with correct and optimal buildorder, but it can be adapted for other things. It supports: * conditionals (parsing spec files is done by rpmbuild,, so you can use any construct supported by rpm, you can define macros to enable/disable features, do bootstrap builds etc.). * auto-provides (packages are built before generating final build order) * rich deps (for dependency solving it uses libsolv via hawkey API) [1] https://github.com/fedora-java/modularity-utils/blob/master/generate-modulemd.py -- Mikolaj Izdebski Senior Software Engineer, Red Hat IRC: mizdebsk _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/JR4ZQXNUOHRPBN63IXBESI7DVDAEHBNV/