View on GitHub

Mock » Release Notes 2.16

A 'simple' chroot build environment manager for building RPMs.

Released on 2021-12-16.

Mock-core-configs 36.4

The biggest change is the removal of epel-8-* configs. It has been replaced by several configs: alma+epel-8-*, centos+epel-8-*, oraclelinux+epel-8-*, rhel+epel-8-*, rocky+epel-8-*. Every config has its pros and cons:

There were several options on how to handle EOL of epel-* configs and we asked EPEL Steering Committee to decide and they decided to remove epel-* config. So it is up to you to decide what to use.

Mock will ease it and if you try to build for epel-8-* config and this config does not exist, you will get this message:

$ mock -r epel-8-x86_64 --shell
ERROR: Could not find required config file: /etc/mock/epel-8-x86_64.cfg
ERROR: There are those alternatives:
ERROR:
ERROR: [1] alma+epel-8-x86_64
ERROR:     Use instead: mock -r alma+epel-8-x86_64 --shell
ERROR:     Builds against AlmaLinux 8 repositories, together with the official EPEL repositories.
ERROR:     Project page: https://almalinux.org/
ERROR:     Enable permanently by:
ERROR:     $ ln -s /etc/mock/alma+epel-8-x86_64.cfg /home/praiskup/.config/mock/epel-8-x86_64.cfg
ERROR:
ERROR: [2] centos+epel-8-x86_64
ERROR:     Use instead: mock -r centos+epel-8-x86_64 --shell
ERROR:     Builds against CentOS Linux 8 repositories, together with the official EPEL repositories.
ERROR:     This will reach end-of-life in January 2021.
ERROR:     Enable permanently by:
ERROR:     $ ln -s /etc/mock/centos+epel-8-x86_64.cfg /home/praiskup/.config/mock/epel-8-x86_64.cfg
ERROR:
ERROR: [3] rhel+epel-8-x86_64
ERROR:     Use instead: mock -r rhel+epel-8-x86_64 --shell
ERROR:     Builds against Red Hat Enterprise Linux 8 repositories, together with the official EPEL repositories.
ERROR:     This mimics what is done in the official EPEL build system, but you need a Red Hat subscription:
ERROR:     https://rpm-software-management.github.io/mock/Feature-rhelchroots
ERROR:     Enable permanently by:
ERROR:     $ ln -s /etc/mock/rhel+epel-8-x86_64.cfg /home/praiskup/.config/mock/epel-8-x86_64.cfg
ERROR:
ERROR: [4] rocky+epel-8-x86_64
ERROR:     Use instead: mock -r rocky+epel-8-x86_64 --shell
ERROR:     Builds against Rocky Linux 8 repositories, together with the official EPEL repositories.
ERROR:     Project page: https://rockylinux.org/
ERROR:     Enable permanently by:
ERROR:     $ ln -s /etc/mock/rocky+epel-8-x86_64.cfg /home/praiskup/.config/mock/epel-8-x86_64.cfg

Additional changes are:

Mock 2.16 changes:

Currently known issues:

Following contributors contributed to this release:

Thank you.