From 251a02134dab563a958fac258b1a8dae271260f6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 14 Feb 2020 10:02:37 +0100 Subject: cleanup EL6 configuration files --- el6x.cfg | 40 +++++++--------------------------------- 1 file changed, 7 insertions(+), 33 deletions(-) (limited to 'el6x.cfg') diff --git a/el6x.cfg b/el6x.cfg index 213f361..55ec6c6 100644 --- a/el6x.cfg +++ b/el6x.cfg @@ -1,30 +1,4 @@ -config_opts['root'] = 'el6x' -config_opts['target_arch'] = 'x86_64' -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.el6x/" - -config_opts['basedir'] = '/dev/shm/' -config_opts['resultdir'] = "/var/lib/mock/el6x" -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('el6x.tpl') config_opts['yum.conf'] = """ [main] @@ -42,7 +16,7 @@ syslog_device= # repos [rhel-6] name=rhel-6 -baseurl=file:/mnt/rhel-6-x86_64/ +baseurl=file:///mnt/rhel-6-x86_64/ 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/x86_64/ +baseurl=file:///home/rpmbuild/site/rpms/enterprise/6/remi/x86_64/ enabled=1 [remi-test] name=remi public -baseurl=file:/home/rpmbuild/site/rpms/enterprise/6/test/x86_64/ +baseurl=file:///home/rpmbuild/site/rpms/enterprise/6/test/x86_64/ enabled=0 [remi-priv] name=remi prive -baseurl=file:/home/rpmbuild/site/rpms/priv/el6.x86_64/ +baseurl=file:///home/rpmbuild/site/rpms/priv/el6.x86_64/ exclude=oracle*12.2* oracle*18* oracle*19* enabled=1 @@ -114,13 +88,13 @@ enabled=0 [resultel6x] name=resultel6x -baseurl=file:/var/lib/mock/el6x/ +baseurl=file:///var/lib/mock/el6x/ 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 """ -- cgit