mock-rocky-configs/etc/mock/rl-10-lookahead-s390x.cfg

27 lines
1.2 KiB
INI

include('templates/rl-10-lookahead-peridot.tpl')
include('templates/rl-10-scopes.tpl')
config_opts['root'] = 'rl-10-lookahead-s390x'
config_opts['target_arch'] = 's390x'
config_opts['legal_host_arches'] = ('s390x',)
config_opts['releasever'] = '10'
config_opts['description'] = 'Rocky Linux 10-lookahead'
config_opts['use_bootstrap_image'] = False
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
config_opts['package_manager'] = 'dnf'
config_opts['dist'] = 'el10'
# Applicable Macros
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
config_opts['macros']['%_host'] = 's390x-redhat-linux-gnu'
config_opts['macros']['%_host_cpu'] = 's390x'
config_opts['macros']['%_vendor'] = "redhat"
config_opts['macros']['%_vendor_host'] = "redhat"
# These are typically set from rocky-release and may not have an effect
config_opts['macros']['%__bootstrap'] = '~bootstrap'
config_opts['macros']['%distribution'] = 'Rocky Linux 10'
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el10%{?with_bootstrap:~bootstrap}'
config_opts['macros']['%rhel'] = '10'
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'