Not really certain if this belongs here... but...
I am successfully building an RPM for Centos, the problem is that it is a 32bit binary (don't ask..) - the requires part of the rpm spec only installs the 64bit/x86_64 version of a required library.
I am linking against libicu, and I want the rpm to automatically install the 32bit version as dependency. My requires looks like this in my rpmspec file:
Requires: libicu
Building the rpm works fine, except when I try to install the rpm on a completely clean system it yum wants to install this as a dependency:
libicu x86_64
Which does not work because that is only the x86_64 version of the library. If I try to install libicu manually:
yum install libicu
I get:
libicu x86_64
libicu i386
It installs the 32bit version of the library as well, and my application works. How can I get rpm to install the 32bit version of this library automatically? Any ideas would be appreciated...