include('/etc/mock/openeuler-22.03_LTS_SP2-x86_64.cfg') config_opts.setdefault('plugin_conf', {}) config_opts['plugin_conf'].setdefault('tmpfs_opts', {}) config_opts['plugin_conf']['tmpfs_opts']['keep_mounted'] = True config_opts['rpmbuild_networking'] = True config_opts['use_host_resolv'] = True config_opts['macros']['%copr_username'] = 'UltramanGaia' config_opts['macros']['%copr_projectname'] = 'gtest' config_opts['macros']['%vendor'] = 'openEuler Copr - user UltramanGaia' config_opts['macros']['%buildtag'] = '.copr92652' config_opts['macros']['%__urlhelper_localopts'] = '--proto -all,+https,+ftps' config_opts[f"{config_opts.package_manager}.conf"] += """ [copr_base] name='Copr repository' baseurl=https://eur.openeuler.openatom.cn/results/UltramanGaia/gtest/openeuler-22.03_LTS_SP2-x86_64/ gpgcheck=0 enabled=1 skip_if_unavailable=0 metadata_expire=0 cost=1 best=1 """