More than just plasma-nm is linking kf5-networkmanager-qt these days, including powerdevil, and if we want to continue to allow NetworkManager to be an optional dep, we need to do something different packaging-wise. I propose we consider doing something similar implemented in PackageKit-Qt. There we changed Requires to Recommends and added Requires: PackageKit-Qt dependencies to all library consumers that *really* needs it (apper, discover, muon) In this case, I think the only kf5-networkmanager-qt consumer that *really* needs NetworkManager is plasma-nm, and maybe plasma-workspace-geolocation(1) (1) the -geolocation subpkg was created only to allow NetworkManager removal in the past, so once this is implemented, we could consider dropping the subpkg for simplicity
CC'ing lkundrak , since (according to repoquery): hawaii-shell currently has Requires: kf5-networkmanager-qt too.
Explicitly cc'ing jgrulich too, who had opposed this general idea the last time the topic came up, see also: https://bugzilla.redhat.com/show_bug.cgi?id=1222097#c4
For me it doesn't make much sense having a kf5-networkmanager-qt without a runtime it requires for usage, but if you really want to have NetworkManager to be removable, then I'm not against it. I think you only need to have this dependency in plasma-nm where this is really necessary and those who want to remove NetworkManager will need to remove plasma-nm too.
Thanks for feedback. Looks like plasma-nm already has Requires: NetworkManager So looks like I'll move forward with implementing the proposed change to kf5-networkmanager-qt
Hi, it appears there's a regression with kf5-networkmanager-qt 5.26.0-1 in fc23, which pulls in a requirement to NetworkManager again. So far the machine I encountered this on is running without NetworkManager, but when trying to update kf5-networkmanager-qt to 5.26.0-1, it suddenly requires NetworkManager. Thanks, Corinna
Since, * Wed Jun 29 2016 Rex Dieter <rdieter> - 5.23.0-3 - Recommends: NetworkManager (#1350973) The packaging has: %if 0%{?fedora} > 22 Recommends: NetworkManager %else Requires: NetworkManager >= 0.9.9.0 %endif so, on f23, dnf should treat it as a soft (and removable) dependency
Right, dnf update --exclude='NetworkManager*' did the trick. Sorry for the noise, Corinna
fwiw, --exclude=NetworkManager should be enough in this case