Dominique Leuenberger wrote:
> I'm using the build-script from Novell, which works quiet well. (the
> one from the BuildService)
> I'm running it on a x86-64 SUSE Linux 10.1 box for the moment.
> 
> I have a directory setup of
> 
> /var
>  | /buildrpms
>  |  | /SL-10.2
>  |  |  | x86_64
>  |  |  | i586
>  |  | /SL-10.1
>  |  |  | x86_64
>  |  |  | i586
>  |  | /SL-10.0
>  |  |  | x86_64
>  |  |  | i586
> 
> and I switch base distro using the --rpms parameter.
>  
> So basically, I would like to decide to build a package for 10.1
> x86-64, I do:
>  
> build --rpms=/var/buildrpms/SL-10.1 --arch=x86_64 specfile.spec
> and if I decide for 10.1 i586, I do
> build --rpms=/var/buildrpms/SL-10.1 --arch=i586 specfile.spec
>  
> Doing so seems to correctly define the architecture of the installed
> rpms in the build root, but the resulting ELF binaries, in either of
> these calls, result in being 64bit applications.
>  
> Is my idea of the mainusage of the build script wrong or is it just my
> usage of it?
> Thanks for some help on this,

I guess it's solved if you start build with "linux32 build ..."
If that's considered to be a hack or an official supported feature I
don't know.
It's also the way it's done within osc IMHO.

Wolfgang
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to