On Tuesday 21 July 2009 04:05:45 Rich Coe 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.
This is more appropriate for the opensuse-packaging mailing list. The openSUSE build service uses baselibs.conf for this: http://en.opensuse.org/Build_Service/baselibs.conf That's basically repacking the i586 libraries as x86_64 rpm - so a total different approach than you're looking at, Andreas -- Andreas Jaeger, aj@{novell.com,opensuse.org} SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126