[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SRPM



On Thu, 5 Feb 1998, Peter L. Peres wrote:

> On Thu, 5 Feb 1998, Alexander Indenbaum wrote:
> 
> > Hi!
> > 
> > It is probably a FAQ question...
> > 
> > Anyway, how do I eat those srpms?
> > 
> > What I want to do is to take srpm, unpack it, patch sources and
> > to compile it.
> > 
> > I just do not find oldgood *tar.gz sources.
> > 
> > So how do I do it?
> > 
> >   Alexander Indenbaum
> >   baum@actcom.co.il
> > 
> > 
> > 
> > 
> > 
> 
> unrpm
> 
> or 
> 
> rpm [RTFM for options]

First I read man rpm
after that I read rpm2cpio
next I read man cpio

And when I finally unpacked this thing I found out that it doees not
include source, only spec file and pathes. Sources are also not found 
on RH ftp site ( at least not in place which is easy to find :{) ) and
site to which refer spec file is down!

I'm probably too tired and doing everything wrong, but if you want to use
system sources - RH is probably not the best choise ;{)

> 
> There is no difference in the way they are packed, just the contents vary.
> You want to pay attention to the flags, to prevent 'automatic' stuff from
> happening.
> 
> For others than RH, the rpm program is available as binary somewhere. It
> works the same as the one on the RH disks.
> 
> After unRH-ing you get a cpio acrhive or direct files. You know how to use
> those.
> 
> Peter
> 
> 

  Alexander Indenbaum
  baum@actcom.co.il