On Fri Oct 24 2014 at 12:46:41 PM Rahul Sundaram <metherid@xxxxxxxxx> wrote:
HiOn Fri, Oct 24, 2014 at 3:51 AM, Michael Simacek wrote:Mock-1.2 no longer depends on yum API and has been ported to use DNF.
So if you use the new version and set config_opts['package_manager']='dnf'
and also install dnf-plugins-core, you should be able to use it without any problems.
But the dnf-yum (/usr/bin/yum being symlink to dnf) scenario is not supported yet,
you have to explicitly tell it to use dnf, otherwise it won't work.
dnf and yum don't always behave the same and mock has to treat them a bit
differently. But the package itself still needs to depend on yum, because even
if dnf-yum was supported, it doesn't pull in dnf-plugins-core package which
contains builddep command.I don't quite understand that explanation. For rawhide, why doesn't mock drop the dependency on yum and add a dependency on dnf *and* dnf-plugins-core?
Mock still defaults to yum, but supports dnf also using
config_opts['package_manager']='dnf'So it makes sense to have a hard requirement on yum
Tim
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct