What's new in Mock

(2019)

Miroslav Suchý - miroslav.suchy.cz/presentations/flock2019

GPG Checks

GPG key for rawhide is checked now.

And for testing and debuginfo.

Jinja2 support

# define your own config variable
config_opts['fedora_number'] = '30'
config_opts['root'] = 'fedora-{{ fedora_number }}-x86_64'
config_opts['dist'] = 'fc{{ fedora_number }}'
				

Set-up

You are not in the mock group.
See https://github.com/rpm-software-management/mock/wiki#setup
				

Dynamic Build Requires

%generate_buildrequires
echo my-package
				

fedoraproject.org/wiki/Changes/DynamicBuildRequires

Mockchain deprecated

Replaced by `mock --chain`

Old news

Bootstrap chroots

--forcearch

Future

Drop python2 support (EL7 already use python3)

Drop EL7 support (spring 2020)

mock.el7 will not be released

Building for epel-7-* still supported

Make DNF default package manager

Support Subscription Manager

Host configs

Questions?

miroslav.suchy.cz/presentations/flock2019