mirror of https://github.com/python/cpython
Patch from Harry Henry Gebel: fixes a bit of code that slipped by my
overhaul last night.
This commit is contained in:
parent
3985151642
commit
c4c06af575
|
@ -308,9 +308,8 @@ class bdist_rpm (Command):
|
||||||
rpm_args.append('-bb')
|
rpm_args.append('-bb')
|
||||||
else:
|
else:
|
||||||
rpm_args.append('-ba')
|
rpm_args.append('-ba')
|
||||||
topdir = os.getcwd() + 'build/rpm'
|
|
||||||
rpm_args.extend(['--define',
|
rpm_args.extend(['--define',
|
||||||
'_topdir ' + os.getcwd() + '/build/rpm',])
|
'_topdir %s/%s' % (os.getcwd(), rpm_base),])
|
||||||
if self.clean:
|
if self.clean:
|
||||||
rpm_args.append('--clean')
|
rpm_args.append('--clean')
|
||||||
rpm_args.append(spec_path)
|
rpm_args.append(spec_path)
|
||||||
|
|
Loading…
Reference in New Issue