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?
Just to jump in here: I can understand that it shouldn't be the very first thing you do, but I'm curious as to why this is "an amazingly bad idea". Care to hit me with a clue stick?
Ta, Craig Miskell ======================================================================= Attention: The information contained in this message and/or attachments from AgResearch Limited is intended only for the persons or entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited by AgResearch Limited. If you have received this message in error, please notify the sender immediately. =======================================================================