Index: distutils/command/bdist_rpm.py =================================================================== RCS file: /cvsroot/python/distutils/distutils/command/bdist_rpm.py,v retrieving revision 1.8 diff -u -r1.8 bdist_rpm.py --- distutils/command/bdist_rpm.py 2000/06/02 02:01:51 1.8 +++ distutils/command/bdist_rpm.py 2000/06/02 16:12:04 @@ -308,9 +308,8 @@ 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)