[Rpm-maint] [rpm-software-management/rpm] Handling of tilde in the version comparison (#214)

Teppei Fukuda notifications at github.com
Sat May 13 15:59:30 UTC 2017


Hello, please tell me about the specification of the version comparison.
Is tilde older than blank? Are the following results correct?

```
>>> import rpm
>>> rpm.labelCompare(("0", "", ""), ("0", "1", ""))
-1
>>> rpm.labelCompare(("0", "", ""), ("0", "~", ""))
1
>>> rpm.labelCompare(("0", "~", ""), ("0", "~~", ""))
1
```
Let me know if the way of the version comparison is defined elsewhere.
I searched but I could not find it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/214
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170513/562799aa/attachment.html>


More information about the Rpm-maint mailing list