Mock for EPEL

Tanguy Eric eric.tanguy at univ-nantes.fr
Thu May 17 09:51:07 UTC 2007


Le jeudi 17 mai 2007 à 11:38 +0200, Thorsten Leemhuis a écrit :
> 
> On 17.05.2007 11:30, Tanguy Eric wrote:
> > Le jeudi 17 mai 2007 à 11:16 +0200, Thorsten Leemhuis a écrit :
> >> On 17.05.2007 11:00, Remi Collet wrote:
> >>> Tanguy Eric a écrit :
> >>>> I would like to use mock on my fc6 to test build for epel 4 and 5 but i
> >>>> don't have any cfg file in /etc/mock about this.
> >>>> How can i do this ?
> >>> # rpm -qf /etc/mock/*epel*
> >>> mock-0.6.11-1.fc6
> >>>
> >>> You probably should update your mock version.
> >>>
> >>> And use, p.e.  mock -r fedora-4-ppc-epel
> >>>
> >>> You can create a fedora-5-ppc-epel using the model.
> >> Or use those attached to this mail -- I send them here past week already
> >> and we'll make sure they'll get integrated into mock soon.
> >>
> > Thanks but i seem to have problem with mirrorlist for epel4 :
> > $ mock -r fedora-4-i386-epel drgeo-1.1.0-5.el4.src.rpm 
> 
> Run:
> sed -i  's|mirror.centos.org|mirrorlist.centos.org|g' /etc/mock/*epel*
> 
> Seems centos switched from mirror.centos.org to mirrorlist.centos.org
> 
> Cu
> thl
Thanks it seems better now but i still have a problem :
$ mock -r fedora-4-i386-epel drgeo-1.1.0-5.el4.src.rpm 
init
clean
prep
This may take a while
Error: Cannot find a valid baseurl for repo: extras

Error performing yum command: /usr/sbin/mock-helper yum
--installroot /var/lib/mock/epel-4-i386/root install buildsys-build
ending
done





More information about the epel-devel-list mailing list