On Tue, 21 Jan 2003, Peter Samuel wrote:

> You can extract the files in an rpm using rpm2cpio. Then you can use
> that to build a new tarball.
> 
>     cd /var/tmp
>     mkdir foo-1.1
>     cd foo-1.1
>     rpm2cpio foo-1.1.noarch.rpm | cpio -iv

I think you'll find you need the -d option to cpio - "cpio -idv".

Of course, if your intention is to modify an existing RPM, the best
process is to ask for the source RPM for the original package.

--
Charlie Brady                         [EMAIL PROTECTED]
Lead Product Developer
Network Server Solutions Group
Mitel Networks Corporation      http://www.mitel.com/smallbusiness
Phone: +1 (613) 592 5660 or 592 2122  Fax: +1 (613) 592 1175



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to