Update to 2021-12-31 14:05

This commit is contained in:
Daniel Berteaud
2021-12-31 14:05:49 +01:00
parent 489c627e9d
commit 6430e931d0
46 changed files with 856 additions and 51 deletions

View File

@@ -0,0 +1,25 @@
include('templates/centos-7.tpl')
include('templates/epel-7.tpl')
config_opts['root'] = 'el7-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['macros']['%rhel'] = '7'
config_opts['macros']['%dist'] = '.el7.dbd'
config_opts['dnf.conf'] += """
[rpmfusion-free-updates]
baseurl = http://download1.rpmfusion.org/free/el/updates/7/x86_64/
gpgcheck = 1
gpgkey = https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-el-7
name = RPM Fusion for EL - Free - Updates
[dbd]
name=dbd
baseurl=http://rpms.lapiole.org/el7/
enabled=1
gpgcheck=1
gpgkey=https://rpms.lapiole.org/RPM-GPG-KEY
"""

View File

@@ -0,0 +1,28 @@
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
"""

View File

@@ -0,0 +1,17 @@
{% if system_proxy is defined and system_proxy != '' %}
config_opts['environment']['http_proxy'] = '{{ system_proxy }}'
config_opts['environment']['https_proxy'] = '{{ system_proxy }}'
{% endif %}
config_opts['createrepo_on_rpms'] = False
config_opts['cleanup_on_failure'] = 1
config_opts['cleanup_on_success'] = 1
config_opts['use_bootstrap_image'] = True
config_opts['plugin_conf']['root_cache_opts']['compress_program'] = "zstd"
config_opts['plugin_conf']['root_cache_opts']['extension'] = ".zst"
config_opts['rpmbuild_networking'] = True
config_opts['macros']['%distribution'] = "{{ rpm_packager }}"
config_opts['macros']['%packager'] = "{{ rpm_packager }}"
config_opts['macros']['%vendor'] = "{{ rpm_packager }}"
config_opts['basedir'] = '{{ rpm_root_dir }}/mock'
config_opts['cache_topdir'] = '{{ rpm_root_dir }}/cache/mock'