Warren's Package Naming Proposal - Revision 1

Peter Bowen pzb at datastacks.com
Sat Nov 1 10:46:52 UTC 2003


On Fri, 2003-10-31 at 04:22, Warren Togami wrote:

> Example:
> foobar-1.0a
> foobar-1.0b
> 
> The "1.0b" version is higher than "1.0a", but all versions of RPM
> prior to rpm-4.2-0.55 are confused when it tries to compare letters.
> Whichever package is first in the comparison "wins", thus this becomes
> a  two way upgrade problem.  This a < b comparison works properly only
> in RH9 and higher.

a < b has worked in RPM from day one.  The only issue in rpm's version
comparison function was comparing a letter to a number, for example 1.a
vs 1.1.  All versions of rpm would get the example right.

Thanks.
Peter





More information about the devel mailing list