Did i just made the fastest dependency checker in the world? (198 packages in 1.5 seconds)
Jesse Keating
jkeating at redhat.com
Tue Apr 10 20:08:11 UTC 2007
On Tuesday 10 April 2007 16:01:53 Mark wrote:
> the result on my php (5.2.1) is: "see, 5.00504 is smaller than 5.6 like i
> said" and "see, they 1.1 is not equal to 1.01"
> those are the facts that are gonna be used in the dep checker. though i
> will probably need to break the recursive loop quite a few time if those
> strange version numbers like 1.1b2 occur...
> so jesse... how is your math going? ;)
Perhaps you're not getting it. RPM does not compare things such as "5.00504"
vs "5.6", rather it breaks each part separated by a period into an individual
item and compares those items. In effect, it compares 5 to 5, then 00504 to
6. Given that 00504 (which is really 504) is a larger number than 6 (or
00006 if you rather), the 5.00504 package is rpm newer than the 5.6 package.
--
Jesse Keating
Release Engineer: Fedora
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070410/57b1c30e/attachment.sig>
More information about the fedora-devel-list
mailing list