Red Hat Bugzilla – Bug 1256445
Cannot fedpkg mockbuild for f23 from RHEL/CentOS 6 or 7 due to dnf requirement
Last modified: 2015-08-24 18:06:46 EDT
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):
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.
mock build fails because dnf is not available
mock should use yum for these builds
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.