Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpmbuild: no Jinja-vars in config_opts keys
The Jinja statements are only expanded in the values of the config_opts dictionary, not in the keys. The new mock-core-configs version 40.2 contains a Jinja condition in the package_manager value. Therefore, we cannot simply use it as a key in config_opts. Since yum.conf and dnf.conf are aliases (starting from Mock 2.1), and dnf5.conf (starting from Mock 5.0+), we can avoid using the variable as a key entirely. Relates: rpm-software-management/mock@5d620ad326d Relates: rpm-software-management/mock#1332
- Loading branch information