On Dec 28, 2005, at 1:33 PM, Mitko Haralanov wrote:
On Thu, 22 Dec 2005 19:21:10 -0800 Bob Kashani <bobk ocf berkeley edu> wrote:I think what you're looking for is: rpm -q --whatprovides <file>Thank you for the response. However, I was looking for the RPMTAG_* corresponding to the '--whatprovides' rpm option? I am not looking to use the 'rpm' command but rather librpm.
There isn't one tag, but rather
RPMTAG_PROVIDENAME
RPMTAG_PROVIDEVERSION
RPMTAG_PROVIDEFLAGS
73 de Jeff