summaryrefslogtreecommitdiffstats
path: root/mock/fc10i.cfg
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-03-20 14:00:19 +0100
committerRemi Collet <fedora@famillecollet.com>2013-03-20 14:00:19 +0100
commitb1878fec8fa343790674cb7c2c7500529246c2b5 (patch)
treeff8a8826d61c2344361785ff0fcd282e2b0031dc /mock/fc10i.cfg
parentcae031b31bdf47fd9a0060a8abc7b01daee6b013 (diff)
save mock configuration files
Diffstat (limited to 'mock/fc10i.cfg')
-rw-r--r--mock/fc10i.cfg81
1 files changed, 81 insertions, 0 deletions
diff --git a/mock/fc10i.cfg b/mock/fc10i.cfg
new file mode 100644
index 0000000..c5b2cd1
--- /dev/null
+++ b/mock/fc10i.cfg
@@ -0,0 +1,81 @@
+config_opts['root'] = 'fc10i'
+config_opts['target_arch'] = 'i386'
+config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
+
+config_opts['plugin_conf']['ccache_enable'] = True
+config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '1G'
+config_opts['plugin_conf']['ccache_opts']['dir'] = "/dev/shm/ccache.fc10i/"
+
+config_opts['basedir'] = '/dev/shm/'
+config_opts['resultdir'] = "/var/lib/mock/fc10i"
+config_opts['cleanup_on_success'] = True
+config_opts['cleanup_on_failure'] = False
+
+config_opts['createrepo_on_rpms'] = True
+config_opts['createrepo_command'] = '/usr/bin/createrepo -d -q -x *.src.rpm'
+
+config_opts['plugin_conf']['yum_cache_opts']['max_age_days'] = 1500
+config_opts['plugin_conf']['root_cache_opts']['max_age_days'] = 1500
+
+config_opts['macros']['%_topdir']="/builddir/build"
+config_opts['macros']['%_smp_mflags']="-j3"
+config_opts['macros']['%vendor']="Remi Collet"
+config_opts['macros']['%packager']="http://blog.famillecollet.com/"
+config_opts['macros']['%dist']=".fc10.remi"
+config_opts['macros']['%fedora']="10"
+config_opts['macros']['%_with_ibase']="1"
+config_opts['macros']['%_with_oci8']="1"
+config_opts['macros']['%runselftest']="0"
+
+
+config_opts['yum.conf'] = """
+[main]
+cachedir=/var/cache/yum
+debuglevel=1
+reposdir=/dev/null
+logfile=/var/log/yum.log
+retries=20
+obsoletes=1
+gpgcheck=0
+assumeyes=1
+
+# repos
+
+[fedora]
+name=fedora
+#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=i386
+baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/10/Everything/i386/os/
+ http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/releases/10/Everything/i386/os/
+ http://ftp.heanet.ie/pub/fedora-archive/fedora/linux/releases/10/Everything/i386/os/
+
+[updates-released]
+name=updates
+#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f10&arch=i386
+baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/10/i386/
+ http://archive.kernel.org/fedora-archive/fedora/linux/updates/10/i386/
+ http://ftp.heanet.ie/pub/fedora-archive/fedora/linux/updates/10/i386/
+enabled=1
+
+
+[remi]
+name=remi public
+baseurl=file:/home/rpmbuild/site/rpms/fedora/10/remi/i386/
+enabled=1
+
+[remi-priv]
+name=remi prive
+baseurl=file:/home/rpmbuild/site/rpms/priv/i386/
+enabled=1
+
+[remi-test]
+name=remi test
+baseurl=file:/home/rpmbuild/site/rpms/fedora/10/test/i386/
+enabled=0
+
+[result]
+name=result
+baseurl=file:/var/lib/mock/fc10i/
+enabled=1
+
+"""
+