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?
On Fri, 12 Dec 2014 10:20:06 +0100 Miroslav Suchý msuchy@redhat.com wrote:
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?
I don't object; I think it's the correct thing to do. I think we should default to whatever is the "official" update tool (for now, yum) and we can switch a distro's configs over when that distro changes.
Is dnf set to supercede yum in F22?
Clark
buildsys@lists.fedoraproject.org