Re: Nested rich-dependencies in rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/12/2017 02:51 PM, Matthew Miller wrote:
On Wed, Apr 12, 2017 at 11:08:46AM +0200, Björn 'besser82' Esser wrote:
I hope someone can help me with the following question:
Does recent Fedora's rpm support nested rich-dependencies like:
   Supplements: (pkg_a and pkg_b and pkg_c and (pkg_d or pkg_e))
Is there any way to express a dependency like that?
Can you give an example of when this might be a good idea? It seems
easy to go overboard with this without clear benefit.

The example is dnfdragora, a nice new GUI for DNF. It uses libyui abstraction to provide native GUI/TUI for GTK+3, Qt and ncurses. The rich-dependencies ensure that the right libyui bindings get installed. So an Xfce user would get libyui-gtk while an LXQt user would get libyui-qt.

Greetings,
Christian
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux