Hi!

Am 19.08.2011 11:01, schrieb IOhannes zmölnig:

>> +dfsg would be preferable over ~dfsg, but you might have good reasons for 
>> your
>> choice?
> im using that because in the pkg-multimedia team (where i partake), we
> use "~".
> 
> doing a quick stats on my system, i have
> 32 $(VER)+dfsg
> 28 $(VER)~dfsg
> 28 $(VER).dfsg
>  5 $(VER)dfsg
>  4 $(VER)-dfsg

You do know the differences on these version numbers and how to check
them, do you?


$ dpkg --compare-versions 1~dfsg lt 1 && echo "Is smaller"
Is smaller

$ dpkg --compare-versions 1+dfsg gt 1 && echo "Is greater"
Is greater


So the order would be 1~dfsg  << 1 << 1+dfsg.


You usually use ~ for smaller pre versions and similar, where you have
0.9pre1, and later a 0.9 which should be a higher version number.
However, I can't think of a scenario, where ~dfsg makes sense.


Best regards,
  Alexander


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e4e2b38.3040...@debian.org

Reply via email to