On Fri, 2008-02-22 at 16:09 -0500, James Antill wrote: > So one interesting thing notting found on IRC was that: > > yum install totem-debuginfo > > ...wants to bring in xmms-lirc instead of totem-lirc, because xmms is > shorter (the dep. is for liblirc.so() ... which they both provide). > After talking with about it on IRC it was suggested we could do two > things before falling back to shortest name: > > 1. See if the .sourcrpm's match with the requiring pkg > 2. See if the "common prefix" is better with the requiring pkg. >
I was the other 'talked about it on irc' person and this doesn't sound terrible - I'm only wondering if there any other lookups that can benefit from this sort of quasi-sane heuristic. my only sideways thought about the name-prefix test would be to make it a minimum of say 6 chars match, so we don't get a too small of a match. -sv _______________________________________________ Yum-devel mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
