I'm trying to use rpmbuild to build x86-64 packages and libs-32bit package.
The same src rpm is uesd to build both output packages.
What is the arguments to rpmbuild to make package-lib-32bit-X.x.x68_64.rpm ?
I currently do this to get a 32-bit package:
CC='gcc -m32' CXX='g++ -m32' linux32 rpmbuild -bb -target=i586 package.spec
That gives me package-lib-X.x.i586.rpm when I need package-lib-32bit-X.x.x86_ 64.rpm .
What arguments get '32bit' added to the package name and named x86_64 ?