Dne 21. 02. 24 v 18:34 Jun Aruga (he /
him) napsal(a):
But I am afraid I am customizing the file/etc/mock/fedora-rawhide-x86_64.cfg . It's not the original one from the RPM any more. I should use the original one and it's better to manage my own custom setting in the `~/.config/mock.cfg`?
Yes. Mock allows you several layers of customization. So you do not need to touch the original configs and avoid such problems.
See https://rpm-software-management.github.io/mock/configuration#order-of-loading-the-files
The alternation for all configs should go to:
~/.config/mock.cfg
If you need to alter one config you can create
~/.config/mock/foo.cfg
with:
include('/etc/mock/fedora-rawhide-x86_64.cfg')
.... your alternation
and then
mock -r foo bar.src.rpm
Which config option is related to the DNF 3 or DNF 5? Below is my setting about the dnf. ``` config_opts['package_manager'] = 'dnf' ```
For rawhide it
should be:
config_opts['package_manager'] = 'dnf5'
-- Miroslav Suchy, RHCA Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
-- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue