DNF vs. YUM in mock for epel configs

Clark Williams clark.williams at gmail.com
Fri Dec 12 14:36:28 UTC 2014


On Fri, 12 Dec 2014 10:20:06 +0100
Miroslav Suchý <msuchy at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/buildsys/attachments/20141212/8ab1096a/attachment.sig>


More information about the buildsys mailing list