Creating packages another plataform

rodrigofariatavares rodrigofariatavares at bol.com.br
Wed Feb 7 11:05:29 UTC 2007


Hi Stevens,

I have the sources.
I create this rpmrc.

arch_canon:     i686:   i686    1
os_canon:  Linux:  Linux  1
buildarchtranslate: i586: i386
buildostranslate: Linux: Linux
arch_compat: i586: i486
arch_compat: i486: i386

Then i run this command:

rpmbuild --rcfile=rpmrc package/SPECS/package.spec
After i run rpmbuild -bb but not create with i686.


What's happening ?

Best regards,

Rodrigo Faria Tavares

> Hello,
>
> I read http://www.rpm.org/max-rpm/ch-rpm-multi.html
> I'm a litte confused.
>
> I saw, that :
>
> arc_canon : define architecture name
> os_canon  : define operation system name
> buildarchtranslate : build platform information
> buildostranslate : define the build operating system for systems running the Linux operating system
> 
>
> Do I have create a rpmrc in source directory ?

>No, you can specify where the rpmrc file is located.

> How I can to compile this package, from another plataform ?

>You need the source code RPM.  If all you have is a binary RPM, then you
>have no source to rebuild the code.






More information about the Redhat-install-list mailing list