On Wed, 12 Aug 1998, Bryan Scaringe wrote:
> Just curious: If I install a source RPM, and "Make"/install
> it, Will a "rpm -e <source-RPM>" remove only the source,
> or will it also get the application and make-waste (.o files)
> as well.
>
> It would seem to me that in the ideal case, running an install
> script after "Make"ing the source would create a new package,
> just for the app, thereby separating the source from the binary,
> allowing them to be delt with on an individual basis.
> Is this usually the case? I'd like to get a few source RPMs,
> but don't want the source wasting space once the binary is built.
>
If you rpm --rebuild foo.src.rpm then it will build the binary packages
If you rpm -Uvh foo.src.rpm then it will install all the source in the
directories off /usr/src/redhat. In /usr/src/redhat/SPEC there will be a
name like foo.spec. rpm -ba foo.spec rebuilds the source and binary rpms.
As far as I know, rpm -e foo.src.rpm doesn't do anything at all.
Everything installed by srpms is in /usr/src/redhat so it is not hard to
delete it all if you want to.
HTH
--
Mike <[EMAIL PROTECTED]>
Join the march to save individuality!