[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Handling upstream versioning scheme 2.40c >> 2.40b >> 2.40



On Wed, Feb 23, 2022 at 08:53:26AM +0200, Andrius Merkys wrote:
> dpkg-genchanges: warning: the current version (2.40c+ds-1) is earlier
> than the previous one (2.40+ds-1)

mh, yeah, that one's annoying.

> The naming scheme could be adjusted to add '.' before the letter in
> version string (2.40c -> 2.40.c), but I cannot craft a watch file which
> could perform this.

I'm not sure if that's the correct answer to your problem, but this
extra rule seems to work on src:c2x:

    uversionmangle=s#([a-z])$#\.\1#

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: