include('/etc/mock/epel-8-x86_64.cfg') config_opts['root'] = '1040657-epel-8-x86_64' config_opts['nspawn_args'] = ['--capability=cap_ipc_lock'] config_opts['chroot_additional_packages'] = 'python3-wrapt python3-lazy-object-proxy' config_opts['rpmbuild_networking'] = False config_opts['use_host_resolv'] = False config_opts['use_bootstrap_container'] = False config_opts['yum.conf'] += """ [copr_base] name='Copr repository' baseurl=https://copr-be.cloud.fedoraproject.org/results/@spacewalkproject/python-packages/epel-8-x86_64/ gpgcheck=0 enabled=1 skip_if_unavailable=1 metadata_expire=0 cost=1 best=1 [http_mirror_centos_org_centos_8_8_PowerTools_x86_64_os] name='Additional repo http_mirror_centos_org_centos_8_8_PowerTools_x86_64_os' baseurl=http://mirror.centos.org/centos-8/8/PowerTools/x86_64/os/ gpgcheck=0 enabled=1 skip_if_unavailable=1 metadata_expire=0 cost=1 best=1 """