mock-rocky-configs/etc/mock/rl-8.X-aarch64.cfg

27 lines
1.2 KiB
INI
Raw Permalink Normal View History

2024-04-15 08:31:51 +00:00
include('templates/rl-8-vault.tpl')
2024-04-15 09:03:20 +00:00
include('templates/rl-8-scopes.tpl')
2024-04-15 08:31:51 +00:00
config_opts['root'] = 'rl-8.X-aarch64'
config_opts['target_arch'] = 'aarch64'
config_opts['legal_host_arches'] = ('aarch64',)
config_opts['releasever'] = '8.X'
config_opts['description'] = 'Rocky Linux 8.X'
config_opts['use_bootstrap_image'] = False
config_opts['rpmbuild_command'] = '/usr/bin/rpmbuild'
config_opts['package_manager'] = 'dnf'
config_opts['dist'] = 'el8'
# Applicable Macros
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
config_opts['macros']['%_host'] = 'aarch64-redhat-linux-gnu'
config_opts['macros']['%_host_cpu'] = 'aarch64'
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 8.X'
config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.el8%{?with_bootstrap:~bootstrap}'
config_opts['macros']['%rhel'] = '8'
# To set specialty macros, such as %vendor, please run 'rocky-mock-macros-setup'