Package/System-specific repoquery

Richi Plana myfedora at richip.dhs.org
Tue Dec 4 17:49:13 UTC 2007


On Tue, 2007-12-04 at 12:34 -0500, Jesse Keating wrote:
> On Tue, 04 Dec 2007 10:30:15 -0700
> Richi Plana <myfedora at richip.dhs.org> wrote:
> 
> > Is there a way to do the equivalent of "repoquery --whatprovides
> > <class-name>" Java? As in "repoquery --whatprovides
> > com.netscape.sasl.Sasl"? I mean, the information is there. Is the
> > semantics and the smarts available in repoquery?
> 
> The package itself would have to Provide it, either manually or
> automatically  (and doing automatic provides such as these seems like
> it would bloat the provides list pretty fast, but we have some history
> with perl packages.)

It's actually pretty important meta-info ... perhaps not for desktop or
server users, but developers could use that info. I understand that RPM
or rpmbuild examines the contents of JAR files.

Again, it boils down to what kind of metainfo structure RPM/Yum has and
the query language it supports. RPM has been multiplexing info in the
package filename and Provides: field for a while and it's straining
things both on the utilities end and the users' end. I guess when/if the
time comes that metainfo/query is reconsidered, I'll bring this up
again.

Thanks!
--

Richi Plana




More information about the fedora-devel-list mailing list