Dne 28.6.2018 v 02:00 Kevin Kofler napsal(a):
How about changing the default config to use DNF instead? Last I
checked,
the tenor was that it should work and that you just prefer using YUM 3 to
ensure the results are the same as when running mock on an EL machine, but
if YUM 3 is not available anymore, wouldn't using DNF work?
This is definitely possible. Just add
config_opts['package_manager'] = 'dnf'
And it will work. Kind of. If you are ok with using different depsolver.
E.g., if you have in spec
BuildRequires: webserver
And yum always picked httpd, dnf can pick nginx. Or vice versa. The code is different.
Miroslav