Re: Extract a spec file from a SRC.RPM

2001-04-01 Thread Wolfgang Pfeiffer
Sorry for the delay ... Thanks to all helping ... it worked ... especially this: rpm2cpio wget-1.5.3-6.src.rpm | cpio -div '*.spec' --- was what I find very useful ... Bret, I didn't get 'til n

RE: Extract a spec file from a SRC.RPM

2001-03-29 Thread Jeff Lane
Get rpm2cpio and install that. then do this: rpm2cpio foo.rpm | pax -r /full/path/to/filename -w /tmp -i this will write the file interactively, so you can change the name. for instance, if the specfile you want, when doing an rpm -qpl foo.rpm shows up like: /usr/src/foo.spec.file but you wan

Re: Extract a spec file from a SRC.RPM

2001-03-28 Thread Dominic Mitchell
This script will be correct if you really want to keep all these directory empty. Sometimes I like to keep a few spec file in there just for examples ... Cheers, Dominic. Wolfgang Pfeiffer <[EMAIL PROTECTED]> writes: > Thanks, I got my spec file now ... :) > > > __

Re: Extract a spec file from a SRC.RPM

2001-03-28 Thread Bret Hughes
Richard Potter wrote: > On Wed, 28 Mar 2001, Wolfgang Pfeiffer wrote: > > > I'd like to extract a spec file from a existing SRC.RPM I have here ... > > didn't manage it until now ... that's what I did: > > > > -- > > $ rpm -q --specfile wget

Re: Extract a spec file from a SRC.RPM

2001-03-28 Thread Richard Potter
On Wed, 28 Mar 2001, Wolfgang Pfeiffer wrote: > I'd like to extract a spec file from a existing SRC.RPM I have here ... > didn't manage it until now ... that's what I did: > > -- > $ rpm -q --specfile wget-1.5.3-6.src.rpm > line 1: Unknown t

Re: Extract a spec file from a SRC.RPM

2001-03-28 Thread Bret Hughes
Dominic Mitchell wrote: > Wolfgang Pfeiffer <[EMAIL PROTECTED]> writes: > > > I'd like to extract a spec file from a existing SRC.RPM I have here ... > > didn't manage it until now ... that's what I did: > > try this rpm2cpio path-to-src.rpm | cpio -div '*.spec' this should extract the spec

Re: Extract a spec file from a SRC.RPM

2001-03-28 Thread Wolfgang Pfeiffer
Message from Wolfgang Pfeiffer on Wed, 28 Mar 2001, 22:01 <+0200>: > Thanks, I got my spec file now ... :) > > And this little note: > Harry Putnam posted here last December (thread: 'Regaining disk space') a > fine little script that I just used to clean up the directory where I just

Re: Extract a spec file from a SRC.RPM

2001-03-28 Thread Wolfgang Pfeiffer
Thanks, I got my spec file now ... :) And this little note: Harry Putnam posted here last December (thread: 'Regaining disk space') a fine little script that I just used to clean up the directory where I just installed the wget.SRC.RPM: _ #!/bi

Re: Extract a spec file from a SRC.RPM

2001-03-28 Thread Dominic Mitchell
Wolfgang Pfeiffer <[EMAIL PROTECTED]> writes: > I'd like to extract a spec file from a existing SRC.RPM I have here ... > didn't manage it until now ... that's what I did: > > -- > $ rpm -q --specfile wget-1.5.3-6.src.rpm > line 1: Unk

RE: Extract a spec file from a SRC.RPM

2001-03-28 Thread ABrady
On 28-Mar-01 Wolfgang Pfeiffer opined: > I'd like to extract a spec file from a existing SRC.RPM I have here ... > didn't manage it until now ... that's what I did: > > -- > $ rpm -q --specfile wget-1.5.3-6.src.rpm > line 1: Unknown tag: í«