summaryrefslogtreecommitdiffstats
path: root/el6i.cfg
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-02-14 10:02:37 +0100
committerRemi Collet <remi@remirepo.net>2020-02-14 10:02:37 +0100
commit251a02134dab563a958fac258b1a8dae271260f6 (patch)
tree264ea46eaf204b54c9eea88c61eca31c1e69ccf8 /el6i.cfg
parent4dd7b10c62622fed92ae47abc67dfab874c6a6da (diff)
cleanup EL6 configuration files
Diffstat (limited to 'el6i.cfg')
-rw-r--r--el6i.cfg40
1 files changed, 7 insertions, 33 deletions
diff --git a/el6i.cfg b/el6i.cfg
index e4a5be6..0f5aed6 100644
--- a/el6i.cfg
+++ b/el6i.cfg
@@ -1,30 +1,4 @@
-config_opts['root'] = 'el6i'
-config_opts['target_arch'] = 'i686'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build autoconf268'
-config_opts['dist'] = 'el6' # only useful for --resultdir variable subst
-config_opts['use_nspawn'] = False
-
-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.el6i/"
-
-config_opts['basedir'] = '/dev/shm/'
-config_opts['resultdir'] = "/var/lib/mock/el6i"
-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['macros']['%_smp_mflags']="-j10"
-config_opts['macros']['%vendor']="Remi Collet"
-config_opts['macros']['%packager']="https://blog.remirepo.net/"
-config_opts['macros']['%bugurl']="https://forum.remirepo.net/"
-config_opts['macros']['%dist']=".el6.remi"
-config_opts['macros']['%rhel']="6"
-config_opts['macros']['%_with_ibase']="1"
-config_opts['macros']['%_with_oci8']="1"
-config_opts['macros']['%runselftest']="1"
+include('el6i.tpl')
config_opts['yum.conf'] = """
[main]
@@ -42,7 +16,7 @@ syslog_device=
# repos
[rhel-6]
name=rhel-6
-baseurl=file:/mnt/rhel-6-i386/
+baseurl=file:///mnt/rhel-6-i386/
enabled=1
exclude=gd-devel libwebp-devel
@@ -82,17 +56,17 @@ failovermethod=priority
[remi]
name=remi public
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/6/remi/i386/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/6/remi/i386/
enabled=1
[remi-test]
name=remi public
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/6/test/i386/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/6/test/i386/
enabled=0
[remi-priv]
name=remi prive
-baseurl=file:/home/rpmbuild/site/rpms/priv/el6.i386/
+baseurl=file:///home/rpmbuild/site/rpms/priv/el6.i386/
exclude=oracle*12.2* oracle*18* oracle*19*
enabled=1
@@ -114,13 +88,13 @@ enabled=0
[resultel6i]
name=resultel6i
-baseurl=file:/var/lib/mock/el6i/
+baseurl=file:///var/lib/mock/el6i/
enabled=1
[python27]
name=python27
#baseurl=http://people.redhat.com/bkabrda/python27-rhel-6/
-baseurl=file:/home/rpmbuild/site/rpms/priv/python27-rhel-6/
+baseurl=file:///home/rpmbuild/site/rpms/priv/python27-rhel-6/
enabled=1
"""