On 2022-04-23 20:40, Neal Gompa wrote: > On Sat, Apr 23, 2022 at 2:32 PM Marcin Zajączkowski <mszpak@xxxxx> wrote: >> >> Hi. My package sstp-client (a SSTP VPN client) can be used on it's own, >> but usually it is recommended to have also the NetworkManager-sstp >> plugin. "Recommends" seems to be a good idea here as NM is usually >> available by default. >> >> However, there is also NetworkManager-sstp-gnome which adds an applet >> for Gnome Shell. I'm reluctant to use "Recommends" here, as it would >> propose an user to install the whole GNOME ecosystem (assuming LXQT or >> something else it already used instead). >> >> Is there a way to use "conditional recommends" to only propose >> NetworkManager-sstp-gnome (e.g. when NetworkManager-sstp itself is >> installed) if gnome-shell is already installed? >> > > Recommends: (NetworkManager-sstp-gnome if (NetworkManager-sstp and gnome-shell)) That's exactly what I wanted! Big thanks! Sadly, I wasn't able to find it before in the documentation. I will have to check how to contribute to: https://docs.fedoraproject.org/en-US/packaging-guidelines/WeakDependencies/#_weak_dependencies Marcin -- https://blog.solidsoft.pl/ - Working code is not enough _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure