On Sat, 18 Dec 1999, Schiavon, Jose wrote:
> I have a question related to this one: I want to patch Samba with NBFW. The
> problem is that Mandrake/Redhat changes the installation paths from the
> original Samba distribution. I ran the rpm --rebuild samba.x.x.x and it
> creates the binary rpm and deletes everything once it finishes.
>
> My question is how do I patch Samba and make the binaries once the source is
> installed wit rpm -ivh ...?
Download and read 'Maximum RPM' from http://www.rpm.org, or alternately
pick up a copy from the local book store.?
> > -----Original Message-----
> > From: Axalon Bloodstone [SMTP:[EMAIL PROTECTED]]
> > Sent: Saturday, December 18, 1999 2:47 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [expert] SRPM installation?
> >
> > 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.
> >
> > > Shane Owenby
> > > IBM Linux Technology Center
> > >
> >
> > --
> > MandrakeSoft http://www.mandrakesoft.com/
> > --Axalon
>
--
MandrakeSoft http://www.mandrakesoft.com/
--Axalon