Jos Vos wrote: > On Wed, Aug 15, 2007 at 08:16:36AM +0800, Ed Greshko wrote: > >> And you can do it simply by... >> >> rpm2cpio whatever-package.src.rpm | cpio -i *spec > > Correct, but better quote it (use '*.spec'), as there might be files > matching *spec in your current directory and then it mostly won't > work as expected ;-). I don't think the quotes are needed, although they couldn't hurt. The *spec is a parameter to cpio telling it what files to extract so I don't think having another .spec in your directory will hurt. In fact, I tried it both quoted and unquoted with another spec file in my current directory and the results are the same. Care to share your concern?