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
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
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 ... :)
>
>
> __
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
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
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
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
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
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
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: í«
10 matches
Mail list logo