DNF vs. YUM in mock for epel configs

Miroslav Suchý msuchy at redhat.com
Fri Dec 12 09:20:06 UTC 2014


Hi,
in mock you can choose which package manager will be used:
  config_opts['package_manager'] = 'yum'
or
  config_opts['package_manager'] = 'dnf'

Vít Ondruch pointed me that this may potentially lead to differences in results.
This will be likely no problem with Fedora, which change so fast.
But it may be problem for epel-* packages.

The solution can be to put line:
  config_opts['package_manager'] = 'yum'
in
  /etc/mock/epel-*-*.cfg
So epel packages will be always build by yum. Well until Epel-8, which will likely use DNF.

Comments? Objections?
-- 
Miroslav Suchy, RHCE, RHCDS
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys


More information about the buildsys mailing list