[CentOS] Deconstruct an rpm

Tue Aug 8 12:44:42 UTC 2006
Tom Brown <tom at ng23.net>

> "rpm2cpio file.rpm | cpio -i --make-directories" will unpack the rpm to
> the directory you are momentarily in.

thanks for this it was a great help - Is it possible to modify the files 
within the rpm and then just 'tar' it back up again or some other such 
like to repackage it? I need to change something within an rpm but i 
don't have the spec files etc.

thanks