Hi,<br>
<br>
First of all, sorry because this is not a real whitebox question but a more general rpm question.<br>
I've written a .spec file for a .tgz file. It works fine and it generates a .rpm by running rpmbuild -ba app.spec<br>
<br>
But I'm working with an AMD 64 so my rpm is an x86_64 rpm. I want the
32 bit rpm too. I've seen man page about rpmbuild and I tried to do:<br>
<br>
rpmbuild -ba --target i386 app.spec.<br>
<br>
Now I get an .i386.rpm file and in the rpmbuild output, I can see:<br>
<br>
make 'RPM_OPT_FLAGS=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4'<br>
<br>
but when the building finishes I see:<br>
Requires: libICE.so.6()(64bit) libORBit-2.so.0()(64bit) libSM.so.6()(64bit) libart_lgpl_2.so.2()(64bit).... (and more)<br>
<br>
In fact, I can install and run this rpm in my WBEL 64 bits (of course, I have not that required 32 bit libraries)<br>
Even more, when I install the application and makes a file over the executable I get it is a ELF 64 bits.....<br>
<br>
What I've done wrong? How can I generate a 32 bit rpm from a 64 bit system?<br>
<br>
Thanks.<br>
<br>