Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpmbuild: no Jinja-vars in config_opts keys #3152

Merged
merged 1 commit into from
Feb 21, 2024

Commits on Feb 20, 2024

  1. 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
    praiskup committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    124a9e8 View commit details
    Browse the repository at this point in the history