Patch from Harry Henry Gebel: fixes a bit of code that slipped by my

overhaul last night.
This commit is contained in:
Greg Ward 2000-06-03 01:03:55 +00:00
parent 3985151642
commit c4c06af575
1 changed files with 1 additions and 2 deletions

View File

@ -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)