On Tue, Feb 08, 2022 at 02:13:34PM +0400, Marc-André Lureau wrote: > So far, what I built is a custom python/jinja script to generate the spec, > here is the code and example with mingw-zlib: > https://gitlab.com/-/snippets/2243878 > > Ideally, we would use built-in RPM template facilities, but that may take a > while: https://github.com/rpm-software-management/rpm/issues/1472. Yes, I think you need to assume that this will not happen soon. (If ever. I think that there are significant doubts whether this type of templating is desirable.)
> It will be hard to automate the translation from existing spec to a > template form, but I can eventually look at it. > > Adding ucrt64 packages is still optional, and can be done manually anyway. > Templating is optional too, obviously. Hmm, but wouldn't the goal be to provide ucrt64 everywhere where there are existing mingw packages? If users are to transition to ucrt64, they would need to be able to assume that they can do that without regressions. Zbyszek _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure