ansible-roles/roles/rpm_build_server/templates/mock/el8-x86_64.cfg.j2

29 lines
830 B
Django/Jinja

include('templates/almalinux-8.tpl')
include('templates/epel-8.tpl')
# Disable use_bootstrap_image until new release
# See https://github.com/rpm-software-management/mock/issues/831
config_opts['use_bootstrap_image'] = False
config_opts['root'] = 'el8-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['macros']['%rhel'] = '8'
config_opts['macros']['%dist'] = '.el8.dbd'
config_opts['dnf.conf'] += """
[rpmfusion-free-updates]
baseurl = http://download1.rpmfusion.org/free/el/updates/8/x86_64/
gpgcheck = 1
gpgkey = https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-el-8
name = RPM Fusion for EL - Free - Updates
[dbd]
name=dbd
baseurl=http://rpms.lapiole.org/el8/
enabled=1
gpgcheck=1
gpgkey=https://rpms.lapiole.org/RPM-GPG-KEY
"""