Try this: rpm2cpio <rpm file> > newfile.cpio cpio -ivd < newfile.cpio
That should get you going... David -----Original Message----- From: J. Grant [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 2:40 PM To: [EMAIL PROTECTED] Subject: Re: [expert] Building from .src.rpm Hi, Does anyone know how to exract a .spec file from a compiled rpm? I tried using cpio and some other stuff, but cant get it. rpm --rebuild sss.src.rpm is meant to put it in the SPECS dir, but it isnt there either. Also there is one in the tgz of the soft, but thats generated for a different archiecture so I cant use that. Cheers JG Jim C wrote: > Perhaps: > > rpm -ba <specfile> > > Ken Thompson wrote: > >> Can someone refresh my memory? I want to build an rpm from a src.prm >> and have forgotten the command. >> >> >> ------------------------------------------------------------------------ >> >> Want to buy your Pack or Services from MandrakeSoft? Go to >> http://www.mandrakestore.com > > > > >
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
