[CentOS-devel] mock using yum .repo file?

Sun Jul 24 18:16:30 UTC 2011
Manuel Wolfshant <wolfy at nobugconsulting.ro>

On 07/24/2011 08:52 PM, Jeff Johnson wrote:
>
> 1) Yes, mock uses yum which will use repo files. You likely need
> to configure up /etc/mock/* somehow … checking … yes stanzas
> like this are merely yum repositories written differently:
> 	[fedora]
> 	name=fedora
> 	mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-15&arch=i386
> 	failovermethod=priority
> See if someone hasn't configured up mock for cents somehow: that was the point
> of my aside: its often quite mysterious how to find the right URI. I have difficulties
> all the time.
mock from epel comes preconfigured to use centos repos when building for 
RHEL 4 and RHEL 5. As last versions of mock (both for epel-5 and epel-6) 
were released before centos 6 was out, the config files for RHEL6 are 
preconfigured to use RH beta ( 5.90). However it's quite trivial to 
adjust the 2 lines to point to centos repos instead.

Why on Earth did mock's maintainer decide to point the config files for 
PPC to centos ( give that there is no centos for ppc) is however an 
enigma for me.


     73 de wolfy