Released on - 2021-11-02
New Mock 2.13 features:
-
A new option
--additional-packageis added. During package development, this option can be used withmock --rebuildmode to specify an additional set of build requirements (still, properly settingBuildRequires: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
external:dependencies are now properly installed into a proper build chroot, not into a bootstrap chroot [PR 771]. -
The option parsing mechanism was migrated from the
optparselibrary toargparse. 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 havegpgcheck=0in the[main]section, DNF applied its owngpgcheck=1default and it led tomock --chainbuild failures. Newly we setgpgcheck=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 olderutil-linuximplementations). [issue 715] -
The
distro.linux_distribution()call is now deprecated, we usedistro.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
Thank you!