Because the module-build-macros SRPM is the central piece for building module package, it would be useful to have a simple tool, which would provide the module-build-macros SRPM out of modulemd YAML. Having the SRPM at hand, it would allow me to build modular packages by hand in Mock.
Basically, is should be some simple command line tool, which calls the KojiModuleBuilder.get_disttag_srpm
KojiModuleBuilder.get_disttag_srpm
May be I should contact the fedpkg developers, because calling fedpkg srpm in directory with module YAML file could be interesting variant.
fedpkg srpm
BTW no, I don't call this simple tool:
$ sudo dnf install module-build-service ... snip ... Install 57 Packages Total download size: 23 M Installed size: 100 M Is this ok [y/N]:
LMFAO
I am implementing such a tool here https://github.com/rpm-software-management/modulemd-tools/pull/15
Login to comment on this ticket.