[Rpm-maint] [rpm-software-management/rpm] Resolve --what<depends> arguments to package provides (PR #2451)
Panu Matilainen
notifications at github.com
Fri Mar 24 08:07:39 UTC 2023
One of the recurring bugs reported on rpm is that --whatrequires returns unexpected results because it only queries for the literal capability string passed as argument whereas people usually *mean* all dependencies of that package.
Change --whatrequires and friends to resolve the argument to a package label by default and then run the original query for each of package's provided capabilities. Note that --whatprovides always operates on the actual argument, resolving is not a sensical operation for that.
Fixes: #2439, #2450
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/2451
-- Commit Summary --
* Resolve --what<depends> arguments to package provides
-- File Changes --
M docs/man/rpm.8.md (7)
M include/rpm/rpmcli.h (1)
M lib/poptQV.c (2)
M lib/query.c (45)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/2451.patch
https://github.com/rpm-software-management/rpm/pull/2451.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2451
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2451 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230324/1d12a850/attachment.html>
More information about the Rpm-maint
mailing list