-
Couldn't load subscription status.
- Fork 11
Description
When both %autorelease and %autochangelog are in use,
and the maintainer wants to stop incrementing the release number
(so that 1.0-1.dist -> 1.0-2.dist -> 1.0-3.dist continues with 1.0-3.dist.1 -> 1.0.3-dist.2,
a practice popular with, say, RHEL, to prevent the z-stream updates version from overtaking the y-stream version),
one way to (almost) do that is changing to
Release: 3%{?dist}.%{autorelease -n}.
This makes the version continue ticking after the dot after the dist tag (1.0-3.dist.4 -> 1.0-3.dist.5 -> ...),
and it actually does work,
but the issue is that the %autochangelog is oblivious to this and keeps churning out
misleading 1.0.4, 1.0.5, ..., while I'd prefer to see 1.0-3.4, 1.0-3.5, ... instead.
It'd be great if %autochangelog had a way to switch to dotted ticking, either through an extra parameter
or through being smart enough and consuming the entire effective value of Release.