summaryrefslogtreecommitdiffstats
path: root/etc/mock/epel-4-x86_64.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'etc/mock/epel-4-x86_64.cfg')
-rw-r--r--etc/mock/epel-4-x86_64.cfg46
1 files changed, 46 insertions, 0 deletions
diff --git a/etc/mock/epel-4-x86_64.cfg b/etc/mock/epel-4-x86_64.cfg
new file mode 100644
index 0000000..5819ad7
--- /dev/null
+++ b/etc/mock/epel-4-x86_64.cfg
@@ -0,0 +1,46 @@
+config_opts['root'] = 'epel-4-x86_64'
+config_opts['target_arch'] = 'x86_64'
+config_opts['chroot_setup_cmd'] = 'install buildsys-build'
+config_opts['dist'] = 'el4' # only useful for --resultdir variable subst
+
+# ccache not available on epel4
+config_opts['plugin_conf']['ccache_enable'] = False
+
+config_opts['yum.conf'] = """
+[main]
+cachedir=/var/cache/yum
+debuglevel=1
+logfile=/var/log/yum.log
+reposdir=/dev/null
+retries=20
+obsoletes=1
+gpgcheck=0
+assumeyes=1
+# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to exclude all
+# .i?86 packages except these.
+exclude=[!g]*.i*86 g[!l]*.i?86 gl[!i]*.i?86 gli[!b]*.i?86 glib[!c]*.i?86
+
+# repos
+
+[core]
+name=base
+mirrorlist=http://mirrorlist.centos.org/?release=4&arch=x86_64&repo=os
+
+[update]
+name=updates
+mirrorlist=http://mirrorlist.centos.org/?release=4&arch=x86_64&repo=updates
+
+[groups]
+name=groups
+baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel4/x86_64/
+
+[extras]
+name=epel
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=x86_64
+
+[local]
+name=local
+baseurl=http://buildsys.fedoraproject.org/plague-results/fedora-4-epel/
+exclude=*.i386 *.ppc
+
+"""