summaryrefslogtreecommitdiffstats
path: root/el7x.tpl
blob: fb7b5dc506cdc855362c6263c7d06dcbb71b1e92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 devtoolset-10-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'] = 'dnf'
#config_opts['use_bootstrap'] = False

config_opts['macros']['%_smp_mflags']="-j10"
config_opts['macros']['%vendor']="Remi's RPM repository <https://rpms.remirepo.net/>"
config_opts['macros']['%packager']="Remi Collet"
config_opts['macros']['%vendeur']="remi"
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'