On Mon, 20 Jul 2009 21:05:45 -0500 Rich Coe <rcoe@wi.rr.com> wrote:
I'm trying to use rpmbuild to build both a x86-64 and 32-bit package. On the examples in the distribution, the same src rpm is used for both output packages.
What is the arguments to rpmbuild to make package-lib-32bit-X.x ?
I'm currently do this to get a 32-bit package: CC='gcc -m32' CXX='g++ -m32' linux32 rpmbuild -ba --target=i586 package-lib.spec For example, I'm trying to build xorg-x11-libXt-32bit from xorg-x11-libXt.
install 'build' rpm CC='gcc -m32' CXX='g++ -m32' linux32 rpmbuild -bb -target=i586 package.spec { echo package echo package-devel } > baselib.conf /usr/lib/build/mkbaselib -c /usr/lib/build/baselibs_global.conf -c baselib.conf /PATH_TO_RPMS/.../i586/package*.rpm -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org