Bug 1256445 - Cannot fedpkg mockbuild for f23 from RHEL/CentOS 6 or 7 due to dnf requirement
Summary: Cannot fedpkg mockbuild for f23 from RHEL/CentOS 6 or 7 due to dnf requirement
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-24 15:13 UTC by Erik Johnson
Modified: 2015-08-24 22:06 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-08-24 20:52:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Erik Johnson 2015-08-24 15:13:37 UTC
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

Comment 2 Erik Johnson 2015-08-24 22:06:46 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.