On Fri, 2005-03-18 at 13:15 -0800, Don Russell wrote: > Stuart Sears wrote: > > > first you find out which rpm uname comes from: > > [stuart@behemoth ~]$ which uname > > /bin/uname > > [stuart@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 You could also try this: $ rpm -qi $(rpm -qf $(which xscreensaver)) Name : xscreensaver Relocations: (not relocatable) Version : 4.18 Vendor: Red Hat, Inc. Release : 4 Build Date: Tue 19 Oct 2004 20:42:27 BST Install Date: Tue 09 Nov 2004 21:24:49 GMT Build Host: bugs.build.redhat.com Group : Amusements/Graphics Source RPM: xscreensaver-4.18-4.src.rpm Size : 13688164 License: BSD Signature : DSA/SHA1, Wed 20 Oct 2004 19:02:35 BST, Key ID b44269d04f2a6fd2 Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> URL : http://www.jwz.org/xscreensaver/ Summary : A set of X Window System screensavers. Description : The xscreensaver package contains a variety of screensavers for your mind-numbing, ambition-eroding, time-wasting, hypnotized viewing pleasure. ... and it actually tells you the name of the Source RPM :-) Paul. -- Paul Howarth <paul@xxxxxxxxxxxx>