Re: rpmautospec - how to add suffix to the current release and don't bump it right now

2023-01-04 Thread Michael J Gruber
> On Tue, Jan 03, 2023 at 12:00:21PM +0100, Zdenek Dohnal wrote: > > My understanding — which may be not be the whole picture — is that this is not > supported by rpmautospec natively. Essentially, every spec file change is > _supposed_ to caused the Release number to grow, so by definition, a com

Re: rpmautospec - how to add suffix to the current release and don't bump it right now

2023-01-03 Thread Zdenek Dohnal
On 1/3/23 12:19, Zbigniew Jędrzejewski-Szmek wrote: Is this doable with rpmautospec and if it is, how? The desired effect can be implemented by overriding %dist: %global dist %dist~test.0 Release: %autorelease Notice that I used '~' to make the redefined %dist _lower_ than the original

Re: rpmautospec - how to add suffix to the current release and don't bump it right now

2023-01-03 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jan 03, 2023 at 12:00:21PM +0100, Zdenek Dohnal wrote: > Hi all, > > I would like to ask a question about whether the workflow below, which I use > frequently, can be used in packages which uses rpmautospec. I hit this when > I was doing a testing scratch build of another package which alr