On Thu, 17 Dec 2020 14:05:40 -0500
Ben Cotton <bcotton(a)redhat.com> 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).
== User Experience ==
This change is intended for packagers. It should help to make a bit of
their work easier and offer them some new interesting options.
This change proposal does affect users. The User Experience section
needs to answer the following:
1. How does this affect users who download, maybe modify, and rebuild
the SRPM? Can they continue to use rpmbuid and mock as they have
been? Does the SRPM contain the pre-processed or post-processed spec
file?
2. How does this affect users who download the spec file from
src.fedoraproject.org? Do they have the tools to build the RPM? How
much harder is it?
Please remember that this is Free Software and the spec files are
useful for a broader audience than just the Fedora packagers.
Jim