Re: Correcting a version number
Daniel Lintott <daniel@serverb.co.uk> wrote:
> On 10/12/13 19:21, Dominik George wrote:
>>> [2] http://qa.debian.org/cgi-bin/watch?pkg=vpcs_0.5b0-1
>> In that special case, I'd even say your versioning "mistake" is
>> good because upstream's ~ notation is a mess. That char is reserved
>> for Debian ;) (yes, that's false and not so humble ;))!
[...]
> The output from the above seems a little confusing (to me) as upstream
> don't use ~ which can be seen in the upstream-url, as well as on the
> upstream sf page [1]
> It's entirely possible that there is also a mistake in the watch
> file... which wouldn't help matters.
Hello,
The watchfile looks perfectly fine:
version=3
opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|BETA|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/ \
http://qa.debian.org/watch/sf.php/vpcs/vpcs-(\d.*)-(?:src|source)\.(?:tgz|tbz|tbz2|txz|tar\.(?:gz|bz2|xz))
It looks at the upstream version, sees "0.5b0" and mangles it into a
version number that sorts properly in debian, "0.5~b0".
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
Reply to: