Please do not use otherproviders() anymore

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Please do not use otherproviders() anymore

Michael Schroeder-4

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                                   [hidden email]
SUSE LINUX GmbH,           GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]