summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-02-13 17:13:13 +0100
committerRemi Collet <remi@remirepo.net>2020-02-13 17:13:13 +0100
commit1f709fc011234894ba6c3ca12b4c6645aad67bf4 (patch)
tree2a01f8b78b984c82fdacb3e730caa0afc150aab7
parente52b0df10715741cef59ed449027d8a042825a95 (diff)
cleanup el7 config
-rw-r--r--el7x.cfg42
-rw-r--r--el7x.tpl29
-rw-r--r--el7x55.cfg41
-rw-r--r--el7x56.cfg41
-rw-r--r--el7x70.cfg41
-rw-r--r--el7x71.cfg42
-rw-r--r--el7x72.cfg42
-rw-r--r--el7x73.cfg42
-rw-r--r--el7x74.cfg42
-rw-r--r--el7xr.cfg44
-rw-r--r--el7xscl54.cfg40
-rw-r--r--el7xscl55.cfg40
-rw-r--r--el7xscl56.cfg40
-rw-r--r--el7xscl70.cfg38
-rw-r--r--el7xscl71.cfg38
-rw-r--r--el7xscl72.cfg40
-rw-r--r--el7xscl73.cfg38
-rw-r--r--el7xscl74.cfg38
18 files changed, 175 insertions, 543 deletions
diff --git a/el7x.cfg b/el7x.cfg
index 1fd3d56..de3d32e 100644
--- a/el7x.cfg
+++ b/el7x.cfg
@@ -1,29 +1,7 @@
+include('el7x.tpl')
+
config_opts['root'] = 'el7x'
-config_opts['target_arch'] = 'x86_64'
config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache devtoolset-6-toolchain devtoolset-7-toolchain devtoolset-8-toolchain'
-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/"
-
-config_opts['basedir'] = '/dev/shm/'
-config_opts['resultdir'] = "/var/lib/mock/el7x"
-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']=".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['yum.conf'] = """
[main]
@@ -41,7 +19,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
[rc]
@@ -81,33 +59,33 @@ 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/
enabled=1
exclude=libicu62-devel
[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-debuginfo]
name=remi-debuginfo
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/debug-remi/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/debug-remi/x86_64/
enabled=1
[remi-php55]
name=remi php55
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php55/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php55/x86_64/
enabled=0
[remi-php56]
name=remi public
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php56/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php56/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/
exclude=oracle*12.2* oracle*18* oracle*19*
enabled=1
@@ -129,7 +107,7 @@ enabled=0
[resultel7x]
name=resultel7x
-baseurl=file:/var/lib/mock/el7x/
+baseurl=file:///var/lib/mock/el7x/
enabled=1
diff --git a/el7x.tpl b/el7x.tpl
new file mode 100644
index 0000000..6c61c2f
--- /dev/null
+++ b/el7x.tpl
@@ -0,0 +1,29 @@
+config_opts['root'] = 'el7x'
+config_opts['target_arch'] = 'x86_64'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache devtoolset-6-toolchain devtoolset-7-toolchain devtoolset-8-toolchain'
+config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
+
+config_opts['basedir'] = '/dev/shm/'
+config_opts['resultdir'] = "/var/lib/mock/el7x"
+
+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['package_manager'] = 'yum'
+config_opts['use_bootstrap'] = True
+
+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['environment']['ACCEPT_EULA'] = 'Y'
+
diff --git a/el7x55.cfg b/el7x55.cfg
index a259d05..92fa95f 100644
--- a/el7x55.cfg
+++ b/el7x55.cfg
@@ -1,29 +1,4 @@
-config_opts['root'] = 'el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache devtoolset-6-toolchain devtoolset-7-toolchain devtoolset-8-toolchain'
-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/"
-
-config_opts['basedir'] = '/dev/shm/'
-config_opts['resultdir'] = "/var/lib/mock/el7x"
-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']=".el7.remi"
-config_opts['macros']['%rhel']="7"
-config_opts['macros']['%_with_ibase']="1"
-config_opts['macros']['%_with_oci8']="1"
-config_opts['macros']['%runselftest']="1"
+include('el7x.tpl')
config_opts['yum.conf'] = """
[main]
@@ -41,7 +16,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
[rc]
@@ -81,28 +56,28 @@ 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/
enabled=1
exclude=libicu62-devel
[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-php55]
name=remi php55
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php55/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php55/x86_64/
enabled=1
[remi-php56]
name=remi public
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php56/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php56/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/
exclude=oracle*12.2* oracle*18* oracle*19*
enabled=1
@@ -124,7 +99,7 @@ enabled=0
[result]
name=result
-baseurl=file:/var/lib/mock/el7x/
+baseurl=file:///var/lib/mock/el7x/
enabled=1
diff --git a/el7x56.cfg b/el7x56.cfg
index afa708c..6de982d 100644
--- a/el7x56.cfg
+++ b/el7x56.cfg
@@ -1,29 +1,4 @@
-config_opts['root'] = 'el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache devtoolset-6-toolchain devtoolset-7-toolchain devtoolset-8-toolchain'
-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/"
-
-config_opts['basedir'] = '/dev/shm/'
-config_opts['resultdir'] = "/var/lib/mock/el7x"
-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']=".el7.remi"
-config_opts['macros']['%rhel']="7"
-config_opts['macros']['%_with_ibase']="1"
-config_opts['macros']['%_with_oci8']="1"
-config_opts['macros']['%runselftest']="1"
+include('el7x.tpl')
config_opts['yum.conf'] = """
[main]
@@ -41,7 +16,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
[rc]
@@ -81,28 +56,28 @@ 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/
enabled=1
exclude=libicu62-devel
[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-php55]
name=remi php55
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php55/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php55/x86_64/
enabled=0
[remi-php56]
name=remi public
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php56/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php56/x86_64/
enabled=1
[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]
@@ -123,7 +98,7 @@ enabled=0
[result]
name=result
-baseurl=file:/var/lib/mock/el7x/
+baseurl=file:///var/lib/mock/el7x/
enabled=1
diff --git a/el7x70.cfg b/el7x70.cfg
index 0398c82..2dcb61d 100644
--- a/el7x70.cfg
+++ b/el7x70.cfg
@@ -1,31 +1,4 @@
-config_opts['root'] = 'el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache devtoolset-6-toolchain devtoolset-7-toolchain devtoolset-8-toolchain'
-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/"
-
-config_opts['basedir'] = '/dev/shm/'
-config_opts['resultdir'] = "/var/lib/mock/el7x"
-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']=".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['environment']['ACCEPT_EULA'] = 'Y'
+include('el7x.tpl')
config_opts['yum.conf'] = """
[main]
@@ -43,7 +16,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
[rc]
@@ -83,23 +56,23 @@ 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/
enabled=1
exclude=php-pecl-* libicu62-devel
[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-php70]
name=remi php70
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php70/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php70/x86_64/
enabled=1
[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]
@@ -120,7 +93,7 @@ enabled=0
[result]
name=result
-baseurl=file:/var/lib/mock/el7x/
+baseurl=file:///var/lib/mock/el7x/
enabled=1
[msprod]
diff --git a/el7x71.cfg b/el7x71.cfg
index 938bd2b..fb6c27c 100644
--- a/el7x71.cfg
+++ b/el7x71.cfg
@@ -1,35 +1,9 @@
-config_opts['root'] = 'el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache devtoolset-6-toolchain devtoolset-7-toolchain devtoolset-8-toolchain'
-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/"
-
-config_opts['basedir'] = '/dev/shm/'
-config_opts['resultdir'] = "/var/lib/mock/el7x"
-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']=".el7.remi"
-config_opts['macros']['%rhel']="7"
-config_opts['macros']['%_with_ibase']="1"
-config_opts['macros']['%_with_oci8']="1"
-config_opts['macros']['%runselftest']="1"
+include('el7x.tpl')
+
config_opts['macros']['%dtsversion']="6"
config_opts['macros']['%dtsenable']="source /opt/rh/devtoolset-6/enable"
config_opts['macros']['%dtsprefix']="devtoolset-6-"
-config_opts['environment']['ACCEPT_EULA'] = 'Y'
-
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
@@ -46,7 +20,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
@@ -87,23 +61,23 @@ 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/
enabled=1
exclude=php-pecl-* libicu-last-devel
[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-php71]
name=remi php71
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php71/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php71/x86_64/
enabled=1
[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]
@@ -124,7 +98,7 @@ enabled=0
[result]
name=result
-baseurl=file:/var/lib/mock/el7x/
+baseurl=file:///var/lib/mock/el7x/
enabled=1
[centos-sclo-rh]
diff --git a/el7x72.cfg b/el7x72.cfg
index 4810734..86ab5e5 100644
--- a/el7x72.cfg
+++ b/el7x72.cfg
@@ -1,35 +1,9 @@
-config_opts['root'] = 'el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache devtoolset-6-toolchain devtoolset-7-toolchain devtoolset-8-toolchain'
-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/"
-
-config_opts['basedir'] = '/dev/shm/'
-config_opts['resultdir'] = "/var/lib/mock/el7x"
-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']=".el7.remi"
-config_opts['macros']['%rhel']="7"
-config_opts['macros']['%_with_ibase']="1"
-config_opts['macros']['%_with_oci8']="1"
-config_opts['macros']['%runselftest']="1"
+include('el7x.tpl')
+
config_opts['macros']['%dtsversion']="6"
config_opts['macros']['%dtsenable']="source /opt/rh/devtoolset-6/enable"
config_opts['macros']['%dtsprefix']="devtoolset-6-"
-config_opts['environment']['ACCEPT_EULA'] = 'Y'
-
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
@@ -46,7 +20,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
@@ -87,23 +61,23 @@ 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/
enabled=1
exclude=php-pecl-* libicu-last-devel
[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-php72]
name=remi php72
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php72/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php72/x86_64/
enabled=1
[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]
@@ -124,7 +98,7 @@ enabled=0
[result]
name=result
-baseurl=file:/var/lib/mock/el7x/
+baseurl=file:///var/lib/mock/el7x/
enabled=1
[centos-sclo-rh]
diff --git a/el7x73.cfg b/el7x73.cfg
index b943ca2..1e13c7c 100644
--- a/el7x73.cfg
+++ b/el7x73.cfg
@@ -1,35 +1,9 @@
-config_opts['root'] = 'el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache devtoolset-6-toolchain devtoolset-7-toolchain devtoolset-8-toolchain'
-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/"
-
-config_opts['basedir'] = '/dev/shm/'
-config_opts['resultdir'] = "/var/lib/mock/el7x"
-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']=".el7.remi"
-config_opts['macros']['%rhel']="7"
-config_opts['macros']['%_with_ibase']="1"
-config_opts['macros']['%_with_oci8']="1"
-config_opts['macros']['%runselftest']="1"
+include('el7x.tpl')
+
config_opts['macros']['%dtsversion']="7"
config_opts['macros']['%dtsenable']="source /opt/rh/devtoolset-7/enable"
config_opts['macros']['%dtsprefix']="devtoolset-7-"
-config_opts['environment']['ACCEPT_EULA'] = 'Y'
-
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
@@ -46,7 +20,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
@@ -87,23 +61,23 @@ 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/
enabled=1
exclude=php-pecl-* libicu-last-devel
[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-php73]
name=remi php73
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php73/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php73/x86_64/
enabled=1
[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]
@@ -124,7 +98,7 @@ enabled=0
[result]
name=result
-baseurl=file:/var/lib/mock/el7x/
+baseurl=file:///var/lib/mock/el7x/
enabled=1
[centos-sclo-rh]
diff --git a/el7x74.cfg b/el7x74.cfg
index a6858c8..c6d4686 100644
--- a/el7x74.cfg
+++ b/el7x74.cfg
@@ -1,35 +1,9 @@
-config_opts['root'] = 'el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache devtoolset-6-toolchain devtoolset-7-toolchain devtoolset-8-toolchain'
-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/"
-
-config_opts['basedir'] = '/dev/shm/'
-config_opts['resultdir'] = "/var/lib/mock/el7x"
-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']=".el7.remi"
-config_opts['macros']['%rhel']="7"
-config_opts['macros']['%_with_ibase']="1"
-config_opts['macros']['%_with_oci8']="1"
-config_opts['macros']['%runselftest']="1"
+include('el7x.tpl')
+
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
@@ -46,7 +20,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
@@ -87,23 +61,23 @@ 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/
enabled=1
exclude=php-pecl-* libicu-last-devel
[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-php74]
name=remi php74
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php74/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php74/x86_64/
enabled=1
[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]
@@ -124,7 +98,7 @@ enabled=0
[result]
name=result
-baseurl=file:/var/lib/mock/el7x/
+baseurl=file:///var/lib/mock/el7x/
enabled=1
[centos-sclo-rh]
diff --git a/el7xr.cfg b/el7xr.cfg
index 4b5daca..30ec0c7 100644
--- a/el7xr.cfg
+++ b/el7xr.cfg
@@ -1,30 +1,6 @@
-config_opts['root'] = 'el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build devtoolset-6-toolchain devtoolset-7-toolchain'
-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/"
-
-config_opts['basedir'] = '/dev/shm/'
-config_opts['resultdir'] = "/var/lib/mock/el7x"
-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']=".el7.remi"
-config_opts['macros']['%rhel']="7"
-config_opts['macros']['%_with_ibase']="1"
-config_opts['macros']['%_with_oci8']="1"
+include('el7x.tpl')
+
config_opts['macros']['%_with_rpmfusion']="1"
-config_opts['macros']['%runselftest']="1"
config_opts['yum.conf'] = """
[main]
@@ -42,7 +18,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
[rc]
@@ -82,33 +58,33 @@ 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/
enabled=1
exclude=libicu62-devel
[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-debuginfo]
name=remi-debuginfo
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/debug-remi/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/debug-remi/x86_64/
enabled=1
[remi-php55]
name=remi php55
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php55/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php55/x86_64/
enabled=0
[remi-php56]
name=remi public
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php56/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php56/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/
exclude=oracle*12.2* oracle*18* oracle*19*
enabled=1
@@ -130,7 +106,7 @@ enabled=0
[resultel7x]
name=resultel7x
-baseurl=file:/var/lib/mock/el7x/
+baseurl=file:///var/lib/mock/el7x/
enabled=1
diff --git a/el7xscl54.cfg b/el7xscl54.cfg
index 4feb477..9cb87ca 100644
--- a/el7xscl54.cfg
+++ b/el7xscl54.cfg
@@ -1,31 +1,11 @@
-config_opts['root'] = 'scl54el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build scl-utils-build php54-build devtoolset-6-toolchain'
-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'] = 'scl54el7x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php54-build devtoolset-6-toolchain'
config_opts['resultdir'] = "/var/lib/mock/scl54el7x"
-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['yum.conf'] = """
@@ -44,7 +24,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
[rc]
@@ -84,28 +64,28 @@ 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/
enabled=1
exclude=libicu62-devel
[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-php55]
name=remi php55
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php55/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php55/x86_64/
enabled=0
[remi-php56]
name=remi public
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php56/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php56/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/
exclude=oracle*12.2* oracle*18* oracle*19*
enabled=1
@@ -127,7 +107,7 @@ enabled=0
[result]
name=result
-baseurl=file:/var/lib/mock/scl54el7x/
+baseurl=file:///var/lib/mock/scl54el7x/
enabled=1
diff --git a/el7xscl55.cfg b/el7xscl55.cfg
index 240feaa..615ab59 100644
--- a/el7xscl55.cfg
+++ b/el7xscl55.cfg
@@ -1,31 +1,11 @@
-config_opts['root'] = 'scl55el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build scl-utils-build php55-build devtoolset-6-toolchain'
-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'] = 'scl55el7x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php55-build devtoolset-6-toolchain'
config_opts['resultdir'] = "/var/lib/mock/scl55el7x"
-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['yum.conf'] = """
@@ -44,7 +24,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
[rc]
@@ -84,28 +64,28 @@ 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/
enabled=1
exclude=libicu62-devel
[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-php55]
name=remi php55
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php55/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php55/x86_64/
enabled=0
[remi-php56]
name=remi public
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php56/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php56/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/
exclude=oracle*12.2* oracle*18* oracle*19*
enabled=1
@@ -127,7 +107,7 @@ enabled=0
[result]
name=result
-baseurl=file:/var/lib/mock/scl55el7x/
+baseurl=file:///var/lib/mock/scl55el7x/
enabled=1
diff --git a/el7xscl56.cfg b/el7xscl56.cfg
index 59de2ff..db89aa2 100644
--- a/el7xscl56.cfg
+++ b/el7xscl56.cfg
@@ -1,31 +1,11 @@
-config_opts['root'] = 'scl56el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build scl-utils-build php56-build devtoolset-6-toolchain'
-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'] = 'scl56el7x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php56-build devtoolset-6-toolchain'
config_opts['resultdir'] = "/var/lib/mock/scl56el7x"
-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['yum.conf'] = """
@@ -44,7 +24,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
[rc]
@@ -84,28 +64,28 @@ 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/
enabled=1
exclude=libicu62-devel
[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-php55]
name=remi php55
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php55/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php55/x86_64/
enabled=0
[remi-php56]
name=remi public
-baseurl=file:/home/rpmbuild/site/rpms/enterprise/7/php56/x86_64/
+baseurl=file:///home/rpmbuild/site/rpms/enterprise/7/php56/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]
@@ -126,7 +106,7 @@ enabled=0
[result]
name=result
-baseurl=file:/var/lib/mock/scl56el7x/
+baseurl=file:///var/lib/mock/scl56el7x/
enabled=1
diff --git a/el7xscl70.cfg b/el7xscl70.cfg
index 871153f..1a881ff 100644
--- a/el7xscl70.cfg
+++ b/el7xscl70.cfg
@@ -1,35 +1,13 @@
-config_opts['root'] = 'scl70el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build scl-utils-build php70-build devtoolset-6-toolchain'
-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'] = 'scl70el7x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php70-build devtoolset-6-toolchain'
config_opts['resultdir'] = "/var/lib/mock/scl70el7x"
-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['environment']['ACCEPT_EULA'] = 'Y'
-
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
@@ -46,7 +24,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
[rc]
@@ -86,18 +64,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/
enabled=1
exclude=libicu62-devel
[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]
@@ -118,7 +96,7 @@ enabled=0
[result]
name=result
-baseurl=file:/var/lib/mock/scl70el7x/
+baseurl=file:///var/lib/mock/scl70el7x/
enabled=1
[msprod]
diff --git a/el7xscl71.cfg b/el7xscl71.cfg
index 347589f..f8f981b 100644
--- a/el7xscl71.cfg
+++ b/el7xscl71.cfg
@@ -1,38 +1,16 @@
-config_opts['root'] = 'scl71el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build scl-utils-build php71-build devtoolset-6-toolchain'
-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'] = 'scl71el7x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php71-build devtoolset-6-toolchain'
config_opts['resultdir'] = "/var/lib/mock/scl71el7x"
-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']="6"
config_opts['macros']['%dtsenable']="source /opt/rh/devtoolset-6/enable"
config_opts['macros']['%dtsprefix']="devtoolset-6-"
-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-scl71el7x]
name=result
-baseurl=file:/var/lib/mock/scl71el7x/
+baseurl=file:///var/lib/mock/scl71el7x/
enabled=1
[centos-sclo-rh]
diff --git a/el7xscl72.cfg b/el7xscl72.cfg
index adf3205..8dd9a7b 100644
--- a/el7xscl72.cfg
+++ b/el7xscl72.cfg
@@ -1,38 +1,16 @@
-config_opts['root'] = 'scl72el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build scl-utils-build php72-build php72-php-devel php72-php-pear devtoolset-6-toolchain'
-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'] = 'scl72el7x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php72-build php72-php-devel php72-php-pear devtoolset-6-toolchain'
config_opts['resultdir'] = "/var/lib/mock/scl72el7x"
-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']="6"
config_opts['macros']['%dtsenable']="source /opt/rh/devtoolset-6/enable"
config_opts['macros']['%dtsprefix']="devtoolset-6-"
-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,12 +100,12 @@ enabled=0
[result-el7x]
name=result
-baseurl=file:/var/lib/mock/el7x/
+baseurl=file:///var/lib/mock/el7x/
enabled=0
[result-scl72el7x]
name=result
-baseurl=file:/var/lib/mock/scl72el7x/
+baseurl=file:///var/lib/mock/scl72el7x/
enabled=1
[centos-sclo-rh]
diff --git a/el7xscl73.cfg b/el7xscl73.cfg
index 41a8074..5453b59 100644
--- a/el7xscl73.cfg
+++ b/el7xscl73.cfg
@@ -1,38 +1,16 @@
-config_opts['root'] = 'scl73el7x'
-config_opts['target_arch'] = 'x86_64'
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build scl-utils-build php73-build php73-php-devel php73-php-pear devtoolset-7-toolchain'
-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'] = 'scl73el7x'
+config_opts['chroot_setup_cmd'] = 'install @buildsys-build ccache scl-utils-build php73-build php73-php-devel php73-php-pear devtoolset-7-toolchain'
config_opts['resultdir'] = "/var/lib/mock/scl73el7x"
-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']="7"
config_opts['macros']['%dtsenable']="source /opt/rh/devtoolset-7/enable"
config_opts['macros']['%dtsprefix']="devtoolset-7-"
-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-scl73el7x]
name=result
-baseurl=file:/var/lib/mock/scl73el7x/
+baseurl=file:///var/lib/mock/scl73el7x/
enabled=1
[centos-sclo-rh]
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]