On Tue, Apr 14, 2009 at 08:47, Richard <ricreig@gmail.com> wrote:
I have a RPM file built with rpmbuild which contained sourcefiles for the application. Due to a disk crash, I lost the original sources. I still have a copy of the project.src.rpm which contains a file that I need to recover.
How can I recover/extract a single file from an RPM file?
I do not want to 'install' the whole RPM as it would clobber files of the same name, most of which have been changed over time. One of the files in the RPM file contains information I need to recover.
Set up a different build root and install the src.rpm. Use tar to extract the exact files you want. -- Registered Linux User # 125653 (http://counter.li.org) Now accepting personal mail for GMail invites. George Carlin - "Frisbeetarianism is the belief that when you die, your soul goes up on the roof and gets stu... - http://www.brainyquote.com/quotes/authors/g/george_carlin.html -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org