On Tue, Mar 10, 2015 at 5:47 PM, ANDY KENNEDY ANDY.KENNEDY@adtran.com wrote:
How do I tell rpmbuild to build the i686 version of the library in place of the x86_64? I've done some looking around on the web and I have found something about:
setarch i686 mock -r <something> ... rebuild <my.rpm>
Not being able to find the "mock" package for CentOS, I thought maybe:
??? Mock is in EPEL.
setarch i686 rpmbuild -ba glibc.spec
If you repackaged the source rpm you should be able to: mock -r epel-6-i386 --rebuild glibc-xxx.srpm