Released on - 2021-11-02
New Mock 2.13 features:
A new option
--additional-packageis added. During package development, this option can be used with
mock --rebuildmode to specify an additional set of build requirements (still, properly setting
BuildRequires:is a preferred way to achieve this) [PR 776].
A new option
--debug-config-expandedis now available. It provides a very similar mock configuration output to the
--debug-configoption, except that the `` constructs the configuration are expanded [PR 765].
Mock 2.13 bugfixes:
The option parsing mechanism was migrated from the
argparse. This in particular shouldn’t be a user visible change, so please report changes in mock behavior if you observe any.
The repositories generated locally by mock are not automatically signed. But since Mock did not specify the default
gpgpcheck=option before, and some of our config files didn’t have
[main]section, DNF applied its own
gpgcheck=1default and it led to
mock --chainbuild failures. Newly we set
gpgcheck=0by default by Mock and any GPG signed repository used in mock configuration needs to overwrite this explicitly [PR 782].
When re-mounting, we newly don’t specify the source of the mountpoint as it is not needed in our case, and because the other (preferred)
mount --target ...variant is more portable (behaves correctly with older
util-linuximplementations). [issue 715]
distro.linux_distribution()call is now deprecated, we use
distro.id()instead. [PR 767]
Fixed LVM error message caused by copy/paste error [PR 758].
The following contributors contributed to this release:
- Gustavo Costa
- Kamil Dudka
- Miroslav Suchý
- Sérgio M. Basto