Mailinglist Archive: opensuse-factory (454 mails)

< Previous Next >
[opensuse-factory] Please do not use otherproviders() anymore

Hi Packagers,

I was asked to clarify if/when "Conflicts: otherproviders(...)"
has to be used. The answer is that it should not be used at all
anymore. Upstream rpm allows self-conflicts since the year 2011
(commit b9f5062c227f4a8feff83c0ee1cde2929da7cd3e), it is included
in SLES-12 (rpm-4.11.2) but not SLES-11 (rpm-4.4.2.3).

So if you're not targeting SLES-11 it's safe to use a real
self-conflict instead of that ugly otherproviders() workaround.
The advantage is that rpm will also understand it and not just
zypper/libzypp.

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >