On Sun, Jul 08, 2012 at 04:27:26PM -0500, DJ Lucas wrote: > Any particular reason for rpm2cpio specifically? CLFS has an rpm2targz > that we could add. >
Simplicity ? If I've downloaded the source rpm to look at what a distro has done, I don't particularly want to save another copy of it as .tgz. My normal approach is to create a directory, cd to it, then rpm2cpio < /path/to/src.rpm | cpio -i (from memory - possibly the syntax is wrong - I'm still on the netbook using ssh to my server, and rpm2cpio and cpio are only installed on my desktops) Generally, I will look at the spec file and any patches. I suppose that if you've converted it to a tarball you can use 'view' for that part. But if there are any patches which look useful, you still need to extract them before you can see if they solve the problem. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page