On 8/8/06, Tom Brown tom@ng23.net wrote:
"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.
You can, but this is an amazingly bad idea and is one of those "the world is ending, am I REALLY sure I want to do this?" kind of things?