On Sat, May 21, 2022 at 8:49 AM Andrei Borzenkov <arvidjaar@gmail.com> wrote:So in both cases it is up to higher level package management like libsolv to chose the right packages, and comparing Provides: NetworkManager:.../libnm-device-plugin-wifi.so and Obsoletes: NetworkManager < V-R in the NetworkManager-wifi, the former is certainly more logical and avoids issues with different V-R in different projects.The former is a YaST/Zypp specific hack, the latter is *actually* how RPM wants you to do it. Moreover, if you download all the built NM packages and do "rpm -Uvh" on them, RPM would do the right thing. That's the point of using the actual RPM-defined behavior for this. This behavior is compatible with Zypp, YaST, DNF, and any other dependency resolver, whereas your Provides hack only works in YaST/Zypp.
I'll have to slightly disagree on this being a hack.
Aaron