diff --git a/rebasehelper/utils.py b/rebasehelper/utils.py
index 08ea3b6..239ee4f 100644
--- a/rebasehelper/utils.py
+++ b/rebasehelper/utils.py
@@ -450,7 +450,7 @@ class RpmHelper(object):
:param spec_path: absolute path to SPEC file
:return:
"""
- cmd = ['pkexec', 'dnf builddep', spec_path]
+ cmd = ['pkexec', 'yum-builddep', spec_path]
if assume_yes:
cmd.append('-y')
return ProcessHelper.run_subprocess(cmd)