Re: [CentOS] Deconstruct an rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

Don't you have the src.rpm? There's alien, but that really sucks, as you
cannot really put scripts into the rpm.

Ralph
-- 
Ralph Angenendt......ra@xxxxxxxxxxxx | .."Text processing has made it possible
Bayerischer Rundfunk...80300 München | ....to right-justify any idea, even one
Programmbereich.Bayern 3, Jugend und | .which cannot be justified on any other
Multimedia.........Tl:089.5900.16023 | ..........grounds." -- J. Finnegan, USC

Attachment: pgpm5KswQNsqI.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux