which source file/rpm to look at?
Don Russell
fedora at drussell.dnsalias.com
Fri Mar 18 21:15:59 UTC 2005
Stuart Sears wrote:
> first you find out which rpm uname comes from:
> [stuart at behemoth ~]$ which uname
> /bin/uname
> [stuart at behemoth ~]$ rpm -qf /bin/uname
> coreutils-5.2.1-31
> the same approach applies to xscreensaver.
>
> you then find the .src.rpm on one of the discs (dunno which one)
Thanks... I knew it had to be simple.... :-)
I used rpm -q xscreensaver --whatprovides
and that worked great.... but the real trick was using "which" and the
whole result from that command...
That is,
rpm -q uname --whatprovides
doesn't work, but
rpm -q /bin/uname --whatprovides
does work
Don
More information about the fedora-list
mailing list