[CentOS] Deconstruct an rpm

Tue Aug 8 16:32:43 UTC 2006
Johnny Hughes <mailing-lists at hughesjr.com>

On Tue, 2006-08-08 at 13:44 +0100, Tom Brown 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.
> 
> thanks

Almost all opensource RPMS have published SRPMS ... certainly all from
CentOS / KBS / RPMForge do.

Where did you obtain said RPM.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060808/94e17315/attachment-0005.sig>