>>you can with source rpms. I'm not sure what options you need to pass,
>>you may need to modify some files but in a nutshell it goes something
>>like rpm --rebuild program.1.0.src.rpm
> No,no.
> $su
> #rpm -iv $YOUR.src.rpm
> #cd /usr/src/redhat/SPECS/
> edit $YOUR.spec (eg. WindowMaker.spec)
> Look for configure/make statements near top. Add what you need, and
> delete anything you *know* you don't need. Example:
> /usr/src/redhat/SPECS/WindowMaker.spec:
> ===========================================
> %define _sysconfdir /etc/X11
> %define optflags -g
> # patch5 needs autoconf to run
> autoconf
> %configure --enable-newstyle --enable-superfluous \
> --enable-gnome --with-appspath=/usr/lib/GNUstep/Apps
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> make
> cp -f asclock/asclock.man asclock/wmclock.man
> make Makefile -C asclock
> make -C asclock
> ==========================================end example.
> <save&exit>
> #rpm -bb $YOUR.spec <builds new binary from new spec file>
> #rpm -Uvv /usr/src/redhat/RPMS/i386/$YOUR*rpm <install it now>
> If you want 686 or other CPU optimizations, that is another day.
thanks for setting me straight on that :) like I said I just started
looking into this stuff yesterday. My whole intent was just to let him
know that it looked like he could do what he needed with rpm's
btw I figured out the i686 already... that looks pretty easy
rpm --rebuild --target=i686 package-name.src.rpm
heh... somehow I'm thinking there's more to it than that though. I am
confident however that someone will enlighten me soon enough :)
Jim
--
I send you this sig in order to have your advice