Mailinglist Archive: opensuse-buildservice (306 mails)

< Previous Next >
Re: [opensuse-buildservice] Change in behavior of --prefer-pkgs with multiple packages with same name
On 2010-01-15 15:29:41 -0600, Luke Imhoff wrote:
I actually thought of a wrinkle, if the rpms are

first_path/
foo-1-1.rpm
second_path/
foo-1-1a.rpm
foo-1-1.rpm

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

So in your case "second_path/foo-1-1a.rpm" wins.


Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups