erik wrote:
> I feel really dumb asking this, but I cant figure it out on my own. I
> have a i586 machine. i want to recompile the rpms for i586 so that
> they run better. I have the Redhat CD with all of the src.rpms on
> it. Now what command do i issue to rebuild foo.src.rpm to
> foo.i586.rpm? I tried looking through the archives and the man pages,
> but it didnt help me.
>
> Thanks,
>
rpm --rebuild foo.bar.src.rpm
will take the src.rpm, extract it, run the script in the SPEC file, and
create an RPM in /usr/src/redhat/RPMS
If successful, of course. that means you have to have all of your
required libraries, and required make utilities, and includes, and
anything else that particular package needs to get created.
You could also run
rpm -Uvh foo.bar.src.rpm
which will put all of the stuff in the /usr/src/redhat/ directory. The
spec file will go in , well. SPECS. The tarball will go in SOURCES, and
you can debug from there.
If there are separate packages that get created from this src.rpm, then
both of the RPMS will show up in RPMS. Examples of this are something
like foo-bar-0.51.rpm and foo-bar-devel-0.51.rpm
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.