include('/etc/mock/fedora-41-x86_64.cfg') config_opts['rpmbuild_networking'] = True config_opts['use_host_resolv'] = True # We don't do 'dnf builddep' for the custom method, so we don't need to install # python3-dnf-plugins core or dnf5-plugins at all. config_opts["bootstrap_image_ready"] = 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 # Custom mock snippets configured in copr-crpmbuild config file - can be empty config_opts['macros']['%copr_username'] = 'packit' config_opts['macros']['%copr_projectname'] = 'ansible-pylibssh-658' config_opts['macros']['%vendor'] = 'Fedora Copr - user packit' config_opts['macros']['%buildtag'] = '.copr8269235' 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-41-x86_64/ gpgcheck=0 enabled=1 skip_if_unavailable=0 metadata_expire=0 cost=1 best=1 """