Mailinglist Archive: opensuse-buildservice (306 mails)

< Previous Next >
Re: [opensuse-buildservice] Change in behavior of --prefer-pkgs with multiple packages with same name
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Mon, 18 Jan 2010 10:30:23 +0100
  • Message-id: <20100118093023.GB14086@xxxxxxx>
On Sat, Jan 16, 2010 at 02:54:52PM +0100, Marcus Hüwe wrote:
On 2010-01-15 15:29:41 -0600, Luke Imhoff wrote:
I actually thought of a wrinkle, if the rpms are


Then if last package listed won then foo-1-1.rpm would win, but you'd
want foo-1-1a.rpm to win, so the behavior has to be last directory
specified wins, but in a given directory, the newest version wins.

Hmm no. The semantic is the following:
- the newest package wins (regardless in which dir it is)
- if two or more dirs contains the same package (which is newer than
all other packages) the package found in the last dir wins
- if two or more packages in the same dir are equal (but they might have
different filenames) the last package found wins

Hmm, should we change this to "first dir wins"? It would be consistent
with build's treatment of the specifired repos. (I think we have
to fix build's --prefer-rpm handling in that case as well.)


Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups