Thanks Woody! That's cool as hell. I've often wondered about this but never chased it down.
I've got a question for you, about a situation that I have right now. I have a source src.rpm that's been installed with rpm -ivh (which dumped the contents of the src.rpm in /usr/src/RPM/SOURCES) and I have modified the makefile within the main tar.bz2 source. What is the rpm command to continue rebuilding the source from that point? On Mon, 2002-04-22 at 01:08, Woody Green wrote: > To build rpms as root: > In /root/.rpmrc : > > buildarchtranslate: i386: i686 > buildarchtranslate: i486: i686 > buildarchtranslate: i586: i686 > buildarchtranslate: i686: i686 > > If you want to build rpms as a normal user: > In ~/.rpmrc : > > buildarchtranslate: i386: i686 > buildarchtranslate: i486: i686 > buildarchtranslate: i586: i686 > buildarchtranslate: i686: i686 > > In ~/.rpmmacros > > %_target linux > %_topdir ~/rpm > %_tmppath ~/rpm/tmp > > And run the following setup commands: > > mkdir -p ~/rpm/RPMS/i686 > mkdir -p ~/rpm/RPMS/noarch > mkdir -p ~/rpm/SRPMS > mkdir -p ~/rpm/SPECS > mkdir -p ~/rpm/SOURCES > mkdir -p ~/rpm/BUILD > mkdir -p ~/rpm/tmp > > Done. > > You can now run rpm --rebuild as a regular user and find your results in > ~/rpm . > > Enjoy, > > Woody > > On Sun, 2002-04-21 at 21:44, skidley wrote: > > On all previous verisons of mdk i've used from 7.0 on I've built src > > rpms(rpm --rebuild) and they always came out i686. Now on 8.2 they end > > up i586. I run my own vanilla kernels (like I always have b4) that are > > built as march=i686. How can I get rpm --rebuild <src.rpm> to pop out i686 rpms? > > -- > > Chad Young > > Linux User #195191 > > > > ---- > > > > > Want to buy your Pack or Services from MandrakeSoft? > > Go to http://www.mandrakestore.com > -- > Woody > > --------------------------------------------------------------- > Gatewood Green Web Developer/Systems Admin > Email: [EMAIL PROTECTED] > http://www.linif.org/ Linux in Idaho Falls Linux User Group > --------------------------------------------------------------- Thanks, LX -- ��������������������������������������������������� Kernel 2.4.8-26mdk Mandrake Linux 8.1 Enlightenment 0.16.5 Evolution 1.02 Registered Linux User #268899 http://counter.li.org/ ��������������������������������������������������� _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
