Creating packages another plataform
Rick Stevens
rstevens at vitalstream.com
Wed Feb 7 18:06:15 UTC 2007
On Wed, 2007-02-07 at 09:05 -0200, rodrigofariatavares wrote:
> 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 ?
You've got everything covered EXCEPT an i686. You should probably add
a "buildtranslate: i686: i586" and an "arch_compat: i686: i586".
> > 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.
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- I.R.S.: We've got what it takes to take what you've got! -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list