On Mon, 11 Apr 2011 13:59:11 -0500, Jon wrote:
Jeff Garzik wrote:
> A humble, basic question for you experts...
>
> Given a library, such as jansson (C JSON lib), how does one
> automatically list all packages in the F14 repo which require jansson?
>
> Must be able to find packages which are not installed on the current system.
>
> Thanks,
>
> Jeff
>
>
>
>
repoquery --whatrequires <foo>, which could be a name of an RPM, or a
solib name, like libfoo.so.0.
repoquery is in yum-utils.
Note that --alldeps option is the default for some time, so if you
really want <foo> to be "a name of an RPM", you need to add --exactdeps