Re: Version comparison with "+repack"
On Fri, Oct 07, 2016 at 11:00:17AM +0200, Ole Streicher wrote:
> my package "saods9" has currently a RC release in experimental that is
> Now, upstream released a second RC which I want to upload as well:
> However, it turns out that this release is actually *smaller* than the
> first RC release? I originally thought that the "+" is chosen because it
> will not interfere with the upstream versioning?
> dpkg --compare-versions 7.5~rc+repack lt 7.5~rc2+repack && echo lt || echo ge
> What is the best way to fix this?
The best way I don't know, but I would put the RC number at the end,
i.e. 7.5~rc+repack2 for RC2, 7.5~rc+repack3 for RC3 and so on.
The problem is that it's too late to call "7.5~rc+repack" as "7.5~rc1+repack".