On Thu, Dec 17, 2020, at 2:05 PM, Ben Cotton wrote:
https://fedoraproject.org/wiki/Changes/Enable_Spec_File_Preprocessing
== Summary ==
This change should enable an opt-in spec file preprocessor in Fedora
infrastructure for the benefit of packagers. The preprocessor allows
some very neat tricks that were impossible before, for example
generate changelog and release automatically from git metadata or pack
the entire dist-git repository into an rpm-source tarball (effectively
allowing unpacked repos to live in DistGit).
I'm skeptical. If it does pass, I'd insist on having the non-processed spec and
any required supporting files in the SRPM.
Does this relate in any way to the magic done by rdopkg dist-git <-> source-git
translation? Their approach seems very good to me, but might not exactly overlap here.
V/r,
James Cassell