On Mon, 2022-05-30 at 14:18 +0300, Andrei Borzenkov wrote:
%package ovs Summary: Open vSwitch device plugin for NetworkManager Group: System Environment/Base Requires: %{name} = %{version} Requires: openvswitch Supplements: (NetworkManager and openvswitch)
Ok, got it. Sorry for overlooking that.
Apparently OVS users are expected to figure this out by themselves, and install NetworkManager-ovs manually. Perhaps the changelog could have at least mentioned openvswitch, or in general listed _which_ subpackages had been split out?
Anyway, something like
Requires: (NetworkManager-ovs if openvswitch)
Where? In NetworkManager?
Yes.
Why should NetworkManager Require NetworkManager-ovs? Maybe the user is not going to control ovs with NetworkManager at all ...
Yes, maybe. Such a user would waste 87kiB of disk space (compare to 1.3 MiB for openvswitch, 5.9MiB for NM plus 1.4MiB for libnm0, and 6.8 MiB for wpa_supplicant). I am all for this sort of hard,rpm - conditional requirements, in particular for small plugins like this one. I suppose the split-alias technique would have worked, too. IMO the entire weak dependency concept needs to be reevaluated. As argued previously [1], "recommends" isn't well defined and probably never will be. Martin [1] https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/message/...