> -----Original Message----- > From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Les Mikesell > Sent: Tuesday, March 10, 2015 6:02 PM > To: CentOS mailing list > Subject: Re: Glibc sources? > > On Tue, Mar 10, 2015 at 5:47 PM, ANDY KENNEDY <ANDY.KENNEDY@xxxxxxxxxx> 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. De-ignorant me please: How does one discern the package name "EPEL" from mock? I tried everything I could think of (keeping in mind that I've been a Slackware fan since 1993 or so) from "yum provides */mock" to various other commands that were as equally useless to me. Google wasn't even my friend -- though I did find the Fedora mock developer's page -- but I read something else that says that one cannot use Fedora packages within CentOS without resolving too many dependencies. Just a little light will do. . . I've felt my way around in the CentOS dark so far without too many cuts. Thanks, Andy > > > 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 > > -- > Les Mikesell > lesmikesell@xxxxxxxxx _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos