On Tue, Aug 23, 2016 at 11:10:08AM -0500, Jason L Tibbitts III wrote:
>>>>> "PV" == Petr Viktorin
PV> - Make it standard practice in Fedora to use this data and treat the
PV> spec file as an immutable generated artifact.
If you're saying that any changes which are made to the spec file (say,
by release engineering doing a rebuild or by someone tweaking the
package for pretty much any reason) will be overwritten, this is not a
particularly good idea.
%changelog would have to be stored separately. This would apply even for
the case when no "external" changes were made — just normal updates by
the package managers — since there's no way for pyp2rpm to know what
happened in the past.
Anyway, I think it's a good idea to try to make automatically generated
spec files work, but making this mandatory sound premature. Even in
the future, there's always be packages which need some manual fixup
to whatever pyp2rpm produces.