[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Mock for EPEL




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.

CU
thl
#!/usr/bin/python -tt
import os
config_opts['root'] = 'epel-5-i386'
config_opts['target_arch'] = 'i386'

config_opts['yum.conf'] = """
[main]
cachdir=/var/cache/yum
debuglevel=1
logfile=/var/log/yum.log
reposdir=/dev/null
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1

# repos

[core]
name=base
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=os

[update]
name=updates
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i386&repo=updates

[groups]
name=groups
baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel5/i386/

[extras]
name=epel
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=i386

[local]
name=local
baseurl=http://buildsys.fedoraproject.org/plague-results/fedora-5-epel/

"""
#!/usr/bin/python -tt
import os
config_opts['root'] = 'epel-5-x86_64'
config_opts['target_arch'] = 'x86_64'

config_opts['yum.conf'] = """
[main]
cachdir=/var/cache/yum
debuglevel=1
logfile=/var/log/yum.log
reposdir=/dev/null
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1

# repos

[core]
name=base
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os

[update]
name=updates
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=updates

[groups]
name=groups
baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel5/x86_64/

[extras]
name=epel
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=x86_64

[local]
name=local
baseurl=http://buildsys.fedoraproject.org/plague-results/fedora-5-epel/

"""

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]