diff options
author | Greg Ward <gward@python.net> | 2000-06-03 01:03:55 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-06-03 01:03:55 (GMT) |
commit | c4c06af575409157f788425dee4fa2e6b2f647ad (patch) | |
tree | 806c115baa612d4e87c3913923269444b447ffcb /Lib | |
parent | 39851516425b668cebafcc6bd8d2a8ed31db7833 (diff) | |
download | cpython-c4c06af575409157f788425dee4fa2e6b2f647ad.zip cpython-c4c06af575409157f788425dee4fa2e6b2f647ad.tar.gz cpython-c4c06af575409157f788425dee4fa2e6b2f647ad.tar.bz2 |
Patch from Harry Henry Gebel: fixes a bit of code that slipped by my
overhaul last night.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/command/bdist_rpm.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py index aecf5c9..9bce04c 100644 --- a/Lib/distutils/command/bdist_rpm.py +++ b/Lib/distutils/command/bdist_rpm.py @@ -308,9 +308,8 @@ class bdist_rpm (Command): rpm_args.append('-bb') else: rpm_args.append('-ba') - topdir = os.getcwd() + 'build/rpm' rpm_args.extend(['--define', - '_topdir ' + os.getcwd() + '/build/rpm',]) + '_topdir %s/%s' % (os.getcwd(), rpm_base),]) if self.clean: rpm_args.append('--clean') rpm_args.append(spec_path) |