[Rpm-maint] [rpm-software-management/rpm] Resolve --what<depends> arguments to package provides (PR #2451)

Michael Schroeder notifications at github.com
Sat Mar 25 12:39:03 UTC 2023


Oh, and just one last note: there are basically three ways to to a --whatrequires query:

--whatrequires STRING
Which packages have the exact string as a dependency? STRING could maybe be a glob, we could support case insensitive searches, rich deps like `(foo if bar)` are allowed.

--whatrequires PROVIDES
Which packages have dependencies that match the specified provides capability. This is the current way rpm works except no EVR is allowed in the capability. (zypper supports that, it would probably be easy to add support to rpm). As with all provides, rich deps are forbidden.

--whatrequires LABEL
Which packages have dependencies that match all provides of the package(s) selected by LABEL. This is what repoquery does by default. Zypper suppors this with the option `--requires-pkg`. A rich dep does not work here. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2451#issuecomment-1483814107
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2451/c1483814107 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230325/90a01522/attachment.html>


More information about the Rpm-maint mailing list