RPM 4.10 released
Posted May 25, 2012 2:14 UTC (Fri) by
branden (subscriber, #7029)
Parent article:
RPM 4.10 released
From the Debian Policy Manual:
The upstream_version and debian_revision parts are compared by the package management system using the following algorithm:
The strings are compared from left to right.
First the initial part of each string consisting entirely of non-digit characters is determined. These two parts (one of which may be empty) are compared lexically. If a difference is found it is returned. The lexical comparison is a comparison of ASCII values modified so that all the letters sort earlier than all the non-letters and so that a tilde sorts before anything, even the end of a part. For example, the following parts are in sorted order from earliest to latest: ~~, ~~a, ~, the empty part, a.
(
Log in to post comments)