On Thu, Oct 12, 2023 at 11:52:30PM +0200, Preu�e, Hilmar wrote:
The upstream minor versions are always determined by letters, so I'm unsure how to make clear that 1.3.8a+ is later than 1.3.8+. Any hints?
This is a real sad interaction between the letters and the + in this
case.
Clearly the best solution would be to not need to repack anymore, this
would throw the problem away. What's even the point of carrying the RFC
in the tarball nowadays?
Another solution would be to change the character used to separate the
'dfsg' string. + tends to be preferred, but you could use ~ with the
same result most of the time, and it would likewise fix the problem:
% dpkg --compare-versions 1.3.8a~dfsg-1 gt 1.3.8~dfsg-1
=> TRUE
Lastly, you could convince upstream to *always* release their first
release with the trailing character, so there are not release that end
with a number, similar to tzdata.
That said, for this 1.3.8 case you are quite stuck, as you can't do any
of the above. The only option that comes to my mind is to just mess up
the upstream version string to something like 1.3.8.a+dfsg, and keep at
that until 1.3.9 comes out.
--
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 `-
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAmUogiUACgkQCBa54Yx2 K60haBAAm7UjDZUoBhuQenshRSu9Xdqs57LlPD79waBSnNPC++nHOWfViJEQXQ5g LeihcbGU3P4RAJCDXKWU828mfEusZDq29L2yzz3lFzrInFf/m7Z6eFOgQjF6qSlV sQeHyZGaaCFW/IxtIOOFXYdmpUKBrEgU1r648QogGMc+YF8v3ApEQvyWVts6Efzv CnQbIFhLfrk4KXL0ao0DCPbMfxSWNm3lCBLXDDYW4S5CaqqzaRAc0Urb9aHm4oIZ 34lK1o96XSC6tlNRr7SizLolJ/r+cmCQt0yu5kp3D+uu1IVRIFTWaGbqZ2Akd3le cAKbGUS/iDCuSCN654+nCWkeFfNjBWZTonc1uV3DcKUIxebQCb/OpJCQ8Oaf4fyB 8YtN8XC2jCG4fq3mkmuiQuPAbs0lGuFzVBIPHgCdqugpwcl1m/6GoipJWphRT67M UJRWzmxPnR2+mR+EoQ1yRpKqvpNZI38RIC+BPnfbPOHx7Hg9qYtA6orsqXe7Gmul C+Kw5tHsUE4BlWGkZrGKFfT7fpub7ywn2TAOAnThF1S+9DZAJsC