[Rpm-maint] [rpm-software-management/rpm] Version range dependency (#159)
notifications at github.com
Thu Feb 23 08:55:23 UTC 2017
Further examination yields that libsolv already supports a way of dealing with this: REL_WITH which is represented in libsolvs dependency language as "+" and we probably want to represent in RPM as "with".
The semantic of the with operator is both sides need to be matched by the same package. For ease of implementation nesting of "and" terms is not supported (as they would yield tuples of packages as solution). "or" clauses are suppoerted, though. "if" and "if" "else" clauses should be supported but this needs further investigation.
I have POC patch extending the rich deps parser in RPM to allow "with" and to check and reject "and" nested in "with" clauses. The - more complicated - part of actually checking if there is a single package matching is still missing though. In the patch "with" is treated like "and".
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint