how to get a specfile from an RPM

Jos Vos jos at xos.nl
Wed Aug 15 08:36:12 UTC 2007


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 ;-).

-- 
--    Jos Vos <jos at xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204




More information about the fedora-list mailing list