include('/etc/mock/fedora-40-x86_64.cfg') config_opts['rpmbuild_networking'] = True config_opts['use_host_resolv'] = True # Don't mixup caches with the normal mock build. config_opts["root"] = "copr-custom-" + config_opts["root"] # Important e.g. to keep '/script' file available across several # /bin/mock calls (when tmpfs_enable is on). config_opts['plugin_conf']['tmpfs_opts']['keep_mounted'] = True config_opts['macros']['%copr_username'] = '@copr' config_opts['macros']['%copr_projectname'] = 'copr-dev' config_opts['macros']['%vendor'] = 'Fedora Copr - group @copr' config_opts['macros']['%buildtag'] = '.copr7627191' config_opts['macros']['%dist'] = '%nil' config_opts['macros']['%_disable_source_fetch'] = '0' config_opts['macros']['%__urlhelper_localopts'] = '--proto -all,+https,+ftps' config_opts["dnf.conf"] += """ [copr_packit_packit_stable] name='Additional repo copr_packit_packit_stable' baseurl=https://download.copr.fedorainfracloud.org/results/packit/packit-stable/fedora-40-x86_64/ gpgcheck=0 enabled=1 skip_if_unavailable=0 metadata_expire=0 cost=1 best=1 """