[CentOS] Deconstruct an rpm

Tue Aug 8 12:59:57 UTC 2006
Jim Perrin <jperrin at gmail.com>

On 8/8/06, Tom Brown <tom at 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?



-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell