mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
SF Patch 1022003: Change bdist_rpm _topdir to use
os.path.abspath(self.rpm_base) instead of os.getcwd() + '/' + self.rpm_base
This commit is contained in:
parent
cfc3192677
commit
57a6a41e54
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ class bdist_rpm (Command):
|
|||
rpm_cmd.append('-ba')
|
||||
if self.rpm3_mode:
|
||||
rpm_cmd.extend(['--define',
|
||||
'_topdir %s/%s' % (os.getcwd(), self.rpm_base),])
|
||||
'_topdir %s' % os.path.abspath(self.rpm_base)])
|
||||
if not self.keep_temp:
|
||||
rpm_cmd.append('--clean')
|
||||
rpm_cmd.append(spec_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue