diff options
| -rw-r--r-- | command/bdist_rpm.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/command/bdist_rpm.py b/command/bdist_rpm.py index 20ca7ac6..74381cc6 100644 --- a/command/bdist_rpm.py +++ b/command/bdist_rpm.py @@ -309,10 +309,7 @@ class bdist_rpm(Command): # build package log.info("building RPMs") - rpm_cmd = ['rpm'] - if os.path.exists('/usr/bin/rpmbuild') or \ - os.path.exists('/bin/rpmbuild'): - rpm_cmd = ['rpmbuild'] + rpm_cmd = ['rpmbuild'] if self.source_only: # what kind of RPMs? rpm_cmd.append('-bs') |
