Dne 19.1.2016 v 06:51 Dmitrij S. Kryzhevich napsal(a): > Like any others. Provide information about repo to /etc/mock/YOURCONFIG.cfg > In most cases in would be: /etc/mock/default.cfg > > You could find details for your particular copr repo in file with > corresponding name in /etc/yum.repos.d dir if this repo already > worldwide enabled in your system No need to put anything to /etc/mock. You can put it in your working directory and not mess your /etc directory. So: cp /etc/mock/fedora-23-x86_64.cfg ./myconfig.cfg vim ./myconfig.cfg at the end of config_opts['yum.conf'] = """ [main] ... [updates-testing-debuginfo] ... enabled=0 """ put the content of copr repo file (before the """) e.g. ... enabled=0 [msuchy-spark-cli] name=Copr repo for spark-cli owned by msuchy baseurl=https://copr-be.cloud.fedoraproject.org/results/msuchy/spark-cli/fedora-$releasever-$basearch/ skip_if_unavailable=True gpgcheck=1 gpgkey=https://copr-be.cloud.fedoraproject.org/results/msuchy/spark-cli/pubkey.gpg enabled=1 """ and then just call: mock -r ./myconfig.cfg your.src.rpm Mirek -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx