From 1f709fc011234894ba6c3ca12b4c6645aad67bf4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 13 Feb 2020 17:13:13 +0100 Subject: cleanup el7 config --- el7xscl74.cfg | 38 ++++++++------------------------------ 1 file changed, 8 insertions(+), 30 deletions(-) (limited to 'el7xscl74.cfg') diff --git a/el7xscl74.cfg b/el7xscl74.cfg index deca17d..bc8f26a 100644 --- a/el7xscl74.cfg +++ b/el7xscl74.cfg @@ -1,38 +1,16 @@ -config_opts['root'] = 'scl74el7x' -config_opts['target_arch'] = 'x86_64' -config_opts['chroot_setup_cmd'] = 'install @buildsys-build scl-utils-build devtoolset-8-toolchain ccache php74-build php74-php-devel php74-php-pear' -config_opts['dist'] = 'el7' # only useful for --resultdir variable subst - -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.el7x/" +include('el7x.tpl') -config_opts['basedir'] = '/dev/shm/' +config_opts['root'] = 'scl74el7x' +config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build devtoolset-8-toolchain ccache php74-build php74-php-devel php74-php-pear' config_opts['resultdir'] = "/var/lib/mock/scl74el7x" -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']['%scl_vendor']="remi" config_opts['macros']['%_scl_prefix']="/opt/remi" -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']=".el7.remi" -config_opts['macros']['%rhel']="7" -config_opts['macros']['%_with_ibase']="1" -config_opts['macros']['%_with_oci8']="1" -config_opts['macros']['%runselftest']="1" config_opts['macros']['%nophptag']="1" config_opts['macros']['%dtsversion']="8" config_opts['macros']['%dtsenable']="source /opt/rh/devtoolset-8/enable" config_opts['macros']['%dtsprefix']="devtoolset-8-" -config_opts['environment']['ACCEPT_EULA'] = 'Y' - config_opts['yum.conf'] = """ [main] cachedir=/var/cache/yum @@ -49,7 +27,7 @@ syslog_device= # repos [rhel-7] name=rhel-7 -baseurl=file:/mnt/rhel-7-x86_64/ +baseurl=file:///mnt/rhel-7-x86_64/ enabled=1 exclude=libicu-devel @@ -90,18 +68,18 @@ enabled=0 [remi] name=remi public -baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/remi/x86_64/ +baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/remi/x86_64/ exclude=libicu-last-devel enabled=1 [remi-test] name=remi test -baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/test/x86_64/ +baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/test/x86_64/ enabled=0 [remi-priv] name=remi prive -baseurl=file:/home/rpmbuild/site/rpms/priv/el7.x86_64/ +baseurl=file:///home/rpmbuild/site/rpms/priv/el7.x86_64/ enabled=1 [rpmfusion-free] @@ -122,7 +100,7 @@ enabled=0 [result-scl74el7x] name=result -baseurl=file:/var/lib/mock/scl74el7x/ +baseurl=file:///var/lib/mock/scl74el7x/ enabled=1 [centos-sclo-rh] -- cgit