include('/etc/mock/epel-10-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'] = '@rocky-testing' config_opts['macros']['%copr_projectname'] = 'rakudo-rpms' config_opts['macros']['%vendor'] = 'Fedora Copr - group @rocky-testing' config_opts['macros']['%buildtag'] = '.copr10948256' 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"] += """ [http_dl_rockylinux_org_pub_rocky_releasever_BaseOS_basearch_os] name='Additional repo http_dl_rockylinux_org_pub_rocky_releasever_BaseOS_basearch_os' baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/BaseOS/$basearch/os/ gpgcheck=0 enabled=1 skip_if_unavailable=0 metadata_expire=0 cost=1 best=1 [http_dl_rockylinux_org_pub_rocky_releasever_AppStream_basearch_os] name='Additional repo http_dl_rockylinux_org_pub_rocky_releasever_AppStream_basearch_os' baseurl=http://dl.rockylinux.org/pub/rocky/$releasever/AppStream/$basearch/os/ gpgcheck=0 enabled=1 skip_if_unavailable=0 metadata_expire=0 cost=1 best=1 [https_download_copr_fedorainfracloud_org_results_rocky_testing_rakudo_rpms_epel_10_basearch] name='Additional repo https_download_copr_fedorainfracloud_org_results_rocky_testing_rakudo_rpms_epel_10_basearch' baseurl=https://download.copr.fedorainfracloud.org/results/@rocky-testing/rakudo-rpms/epel-10-$basearch/ gpgcheck=0 enabled=1 skip_if_unavailable=0 metadata_expire=0 cost=1 best=1 """