Description of problem: Running a fedpkg mockbuild from RHEL/CentOS 6 or 7 fails because dnf is not available. This is due to the following line, present both in the f23 and rawhide mock configs as of mock-1.2.12-1.el6.noarch: config_opts['package_manager'] = 'dnf' Version-Release number of selected component (if applicable): mock-1.2.12-1.el6.noarch How reproducible: 100% of the time on RHEL/CentOS 6 and 7 Steps to Reproduce: 1. Attempt to run "fedpkg mockbuild" while checked out to the f23 or master branch in a fedpkg clone. Actual results: mock build fails because dnf is not available Expected results: mock should use yum for these builds
Please see: http://miroslav.suchy.cz/blog/archives/2015/05/20/why_mock_does_not_work_on_el_6_and_el7_and_how_to_fix_it/index.html
I've seen it, and still considered it to be a bug. You shouldn't have to mess with the config files deployed by mock to use it. But, given that it doesn't seem you agree, and I don't really care enough to press the issue, I'm not going go pursue it any further.