On 11/12/19 6:00 PM, Jiri Slaby wrote:
On 12. 11. 19, 8:16, Andrei Borzenkov wrote:
On Tue, Nov 12, 2019 at 9:00 AM ASSI <Stromeko@nexgo.de> wrote:
==== c-ares ==== Version update (1.15.0 -> 1.15.0~20191108)
Zypper instead considers this a downgrade?
Actually it is. The "~" convention originates in Debian and is used to denote pre-releases. So you can have v1.4 and during development v1.5~rc1, v1.5~rc2 etc which are newer than v1.4 but will be considered older when v1.5 final is released.
Right, that's why we use dot or plus: $ zypper versioncmp 1.15.0 1.15.0~20191108 1.15.0 is newer than 1.15.0~20191108 $ zypper versioncmp 1.15.0 1.15.0.20191108 1.15.0 is older than 1.15.0.20191108 $ zypper versioncmp 1.15.0 1.15.0+20191108 1.15.0 is older than 1.15.0+20191108
thanks,
For what its worth 1.15.0 is older then 1.15.0-alpha1, which is why in most of my packages I swapped to using 1.15.0~alpha1 for my occasional pre releases. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B