include('templates/almalinux-9.tpl')
include('templates/epel-9.tpl')

config_opts['chroot_setup_cmd'] += " gcc gcc-c++ perl-srpm-macros perl-macros"
config_opts['root'] = 'el9-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['macros']['%rhel'] = '9'
config_opts['macros']['%dist'] = '.el9.dbd'

config_opts['dnf.conf'] += """

[rpmfusion-free-updates]
baseurl = http://download1.rpmfusion.org/free/el/updates/9/x86_64/
gpgcheck = 1
gpgkey = https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-el-9
name = RPM Fusion for EL - Free - Updates

[dbd]
name=dbd
baseurl=http://rpms.lapiole.org/el9/
enabled=1
gpgcheck=1
gpgkey=https://rpms.lapiole.org/RPM-GPG-KEY

"""
