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

View: New views
4 Messages — Rating Filter:   Alert me  

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

by vatbier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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?

And what does "manbo" mean?

I first posted this question in Mandriva forum but I think that Mandriva developers know more about this subject.

vatbier


     

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

by Charles A Edwards :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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

by vatbier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


--- On Fri, 7/3/09, Charles A Edwards <eslrahc@...> wrote:
> If building as user ~/.rpmrc and ~/.rpmmacros will be
> used.
>
> BTW rpms Should always be built as user, not as root.
>
How do the Mandriva developers build the Mandriva packages? What .rpmrc
and what .rpmmacros do they use?
I guess /usr/lib/rpm/manbo/rpmrc settings are used by default minus the
ones in ~/.rpmrc.
Where is defined that /usr/lib/rpm/manbo/rpmrc is used by rpmbuild?

If I build a program with buildarchtranslate: athlon: athlon will it be able to use athlon instructions when the kernel is compiled only for i686?

vatbier




     

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

by Charles A Edwards :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 2 Jul 2009 17:08:18 -0700 (PDT)
vatbier wrote:

> > If building as user ~/.rpmrc and ~/.rpmmacros will be
> > used.
> >
> > BTW rpms Should always be built as user, not as root.
> >  
> How do the Mandriva developers build the Mandriva packages?
> What .rpmrc and what .rpmmacros do they use?
> I guess /usr/lib/rpm/manbo/rpmrc settings are used by default minus
> the ones in ~/.rpmrc.
> Where is defined that /usr/lib/rpm/manbo/rpmrc is used by rpmbuild?
Please see
http://wiki.mandriva.com/en/Development/Tasks/Packaging

Should you have further questions in this vein they would more
appropriately be addressed to the expert list.

 
> If I build a program with buildarchtranslate: athlon: athlon will it
> be able to use athlon instructions when the kernel is compiled only
> for i686?

The kernel is 1 of the rpms I rebuild for athlon optimization.


    Charles


--
There are three things I always forget.  Names, faces -- the third I
can't remember.
                -- Italo Svevo
----------------------
Mandriva Linux release 2010.0 (Cooker) for x86_64$
On SuperSize....http://www.eslrahc.com
Registered Linux user #182463
2.6.30-server-2mnb AMD Athlon(tm) 64 X2 Dual Core Processor 6400+
----------------------


signature.asc (204 bytes) Download Attachment