[Rpm-maint] [rpm-software-management/rpm] RFE: devolve rich dependencies to first dependency encounter with --norichdeps (#461)

Jeff Johnson notifications at github.com
Thu Jun 28 16:17:00 UTC 2018


Related to preventing rich depsolver from being used.

To illustrate the RFE, the rpm-ecosystem mailing list reports a failure parsing

Requires: (annobin if gcc)

Devolving that dependency to another known form, perhaps a simple Suggests/Requires,  seems a possible approach to compatibility.

Simple alternation of (A || B) could -- under an assumption that the likeliest predicate is used first -- could be transformed to A.

Devolving logical expressions to simpler predicates used by rpm can/will never be perfect.

However devolving to simpler predicates might be sufficient to bootstrap depsolvers and other tools with enough compatibility to be able to function in spite of the tools being incapable of parsing rich dependencies.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/461
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180628/941e3485/attachment-0001.html>


More information about the Rpm-maint mailing list