[CentOS] Glibc sources?

Wed Mar 11 18:34:13 UTC 2015
ANDY KENNEDY <ANDY.KENNEDY at adtran.com>

> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of ANDY KENNEDY
> Sent: Wednesday, March 11, 2015 1:32 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Glibc sources?
> 
> > -----Original Message-----
> > From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Les Mikesell
> > Sent: Tuesday, March 10, 2015 6:02 PM
> > To: CentOS mailing list
> > Subject: Re: [CentOS] Glibc sources?
> >
> > On Tue, Mar 10, 2015 at 5:47 PM, ANDY KENNEDY <ANDY.KENNEDY at 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.
> 
> De-ignorant me please:  How does one discern the package name "EPEL" from mock?

Oh, never mind.  I see this is some "add-on" repo site.  Like I said, a little light will do :).

> 
> 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 at gmail.com
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos