Re: RPM naming question.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2007-07-12 at 13:09 -0400, Todd Zullinger wrote:
> Mikkel L. Ellertson wrote:
> > It should be seen as a later version, so it should upgrade.
> 
> It would appear so to human parsers, but not to rpm (unless I've done
> something wrong with the fedora-rpmvercmp script :).

To humans, yes, but the "L" parses later than the corresponding ".":

	           |
	           v
	foo-0.6.5-7.fc7.rpm
	foo-0.6.5-7L.fc7.rpm
	           ^
	           |

I suspect the script is doing a character-by-character comparison, so
the shorter string has precedence and the "." is earlier in the ASCII
sequence than the "L" as well.

That's my opinion...I could be wrong. (with apologies to Dennis Miller).

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens@xxxxxxxxxxxx -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-     If you can't beat your computer at chess...try kickboxing!     -
----------------------------------------------------------------------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux