Skip to content

Commit

Permalink
Fixes #106 Replace yum with dnf.
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Hracek <phracek@redhat.com>
  • Loading branch information
phracek committed Jun 19, 2015
1 parent c26c5d2 commit 8f28b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebasehelper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def install_build_dependencies(spec_path=None, assume_yes=False):
:param spec_path: absolute path to SPEC file
:return:
"""
cmd = ['pkexec', 'yum-builddep', spec_path]
cmd = ['pkexec', 'dnf builddep', spec_path]
if assume_yes:
cmd.append('-y')
return ProcessHelper.run_subprocess(cmd)
Expand Down

0 comments on commit 8f28b38

Please sign in to comment.