On 2021-07-19 09:07, Otto Urpelainen wrote:
However, copr seems to understand rpmautospec. Here is a build that
started from a specfile that uses rpmautospec and completed
successfully:
https://copr.fedorainfracloud.org/coprs/lcts/nextcloud/build/2329596/
Not quite. It doesn't error, but it doesn't deal with the macros either.
%autochangelog should be replaced with the actual changelog during
builds, which doesn't happen on Copr. I think, though I haven't tested,
that it also always uses 1.<disttag> as the release.
See e.g. the .src.rpm here for a rpmautospec build on koji
https://koji.fedoraproject.org/koji/buildinfo?buildID=1780088
Christopher