From c4c06af575409157f788425dee4fa2e6b2f647ad Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Sat, 3 Jun 2000 01:03:55 +0000 Subject: [PATCH] Patch from Harry Henry Gebel: fixes a bit of code that slipped by my overhaul last night. --- Lib/distutils/command/bdist_rpm.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py index aecf5c9dec7..9bce04c1ad6 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)