On 27/11/2019 09:30, Nicolas Mailhot via devel wrote:
The clean way to do it is to put the list of things to generate against in a spec variable, and write the generator logic in a (lua) rpm macro. That keeps the generation inside the spec instead of moving some package creation steps outside our the shared and audited build infra.
How is a file in distgit "outside our the shared and audited build infra" exactly? The spec file is just a file in distgit after all! The actual list in question is right here: https://src.fedoraproject.org/rpms/lodash/blob/master/f/lodash-modules.txt Obviously I could inline that in the spec file but I fail to see what that does other than make the spec file massive... Tom -- Tom Hughes (tom@xxxxxxxxxx) http://compton.nu/ _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx