Le 2019-11-27 10:37, Tom Hughes a écrit :
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!
Yes, I misunderstood, as long as the generation logic is done inside the
spec (via inlined macros, or detached files %{load}-ed), the end result
is perfectly fine
What is not fine is when people use an external generator to write a
spec file. And then fed this build output to the build infra. That moves
spec assembly outside the normal managed build process.
Regards,
--
Nicolas Mailhot
_______________________________________________
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