« Return to Thread: [Cooker] What rpmrc is used when compiling in Mandriva? manbo or ?

Re: [Cooker] What rpmrc is used when compiling in Mandriva? manbo or ?

by Charles A Edwards :: Rate this Message:

Reply to Author | View in Thread

On Thu, 2 Jul 2009 15:19:16 -0700 (PDT)
vatbier wrote:

> In http://wiki.mandriva.com/en/Development/Howto/RPM you are told to
> to add the .rpmmacros configuration file into your home directory. In
> a previous version it also said to make a .rpmrc in your home
> directory. I also read somewhere that there is a system-wide
> /usr/lib/rpm/manbo/rpmrc.
> But when compiling a package with e.g. "rpmbuild -ba ktron.spec" what
> rpmrc is used: /usr/lib/rpm/rpmrc or /usr/lib/rpm/manbo/rpmrc?

If building as user ~/.rpmrc and ~/.rpmmacros will be used.

BTW rpms Should always be built as user, not as root.

On this system any rpms I build/rebuild are done as athlon.
 
[charles@Cosmos ~]$ cat ~/.rpmrc
buildarchtranslate: i386: i586
buildarchtranslate: i486: i586
buildarchtranslate: i586: i586
buildarchtranslate: i686: i586
buildarchtranslate: athlon: athlon

for your choice
buildarchtranslate: i686: i686

 
> And what does "manbo" mean?

manbo is a joint development lab, Manbo-Lab, entered into by
Mandriva and Turbolinux in Jan 2008.
The mnb.rpm designation is used for pkgs kernel, gcc, and glibc.


    Charles


--
I think the world is ready for the story of an ugly duckling, who grew
up to remain an ugly duckling, and lived happily ever after.
                -- Chick
----------------------
Mandriva Linux release 2010.0 (Cooker) for i586$
On Cosmos....http://www.eslrahc.com
Registered Linux user #182463
2.6.30-desktop-1mnb AMD Athlon(tm) XP 3200+
----------------------


signature.asc (204 bytes) Download Attachment

 « Return to Thread: [Cooker] What rpmrc is used when compiling in Mandriva? manbo or ?