On Sat, Dec 18, 1999 at 03:46:57PM -0700, Axalon Bloodstone wrote:
> On Sat, 18 Dec 1999, Shane Owenby wrote:
> > On Sat, Dec 18, 1999 at 11:24:30AM -0500, Dan Swartzendruber wrote:
> > > 
> > > Is there a trick to installing source RPMs?  I 
> > > downloaded  samba-2.0.5a-3mdk.src.rpm from one of the
> > > mandrake mirrors, and installed it using 'rpm -ivh' (like all the binaries 
> > > I do successfully).  When I then
> > > query for the file list, I get told it isn't installed?
> > > 
> > > [root@sphinx local]# rpm -ivh samba-2.0.5a-3mdk.src.rpm
> > > samba                       ##################################################
> > > [root@sphinx local]# rpm -ql samba-2.0.5a-3mdk.src.rpm
> > > package samba-2.0.5a-3mdk.src.rpm is not installed
> > SRPMS don't show up as being installed in the RPM database.
> > look in /usr/src/redhat/SPECS  (I think it is the same on Mandrake)
> > then do an rpm -ba foo.spec (and watch the package build)
> > this should leave a RPM and SRPM in the appropriate dirs under
> > the /usr/src/redhat/ tree.
> > 
> > or just rpm --rebuild foo.src.rpm then look in /usr/src/redhat/RPMS/i386/*
> > for the binary RPM.
> 
> it should build an i586 rpm by default.
hehe I had 2 errors in the post:

The one you pointed out, and the default %_topdir on Mandrake must be
/usr/src/RPM/ instead of the /usr/src/redhat/ as I posted :).

Thanks for the corrections. (you guys changed more than I thought)

Shane

Reply via email to