summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-08-25 13:00:34 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-08-25 13:00:34 (GMT)
commitcf525241bb14c29f747e5fa3045a57bc80a74557 (patch)
treed226c801c2c82d8685686c8b8641a86e58967bee /Lib/distutils
parent9f5c0c41ce000e57f9d196f398dcc7a4142ab3ce (diff)
downloadcpython-cf525241bb14c29f747e5fa3045a57bc80a74557.zip
cpython-cf525241bb14c29f747e5fa3045a57bc80a74557.tar.gz
cpython-cf525241bb14c29f747e5fa3045a57bc80a74557.tar.bz2
Patch #970019: Include version and release in the BuildRoot.
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/command/bdist_rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py
index 4be9999..43181ea 100644
--- a/Lib/distutils/command/bdist_rpm.py
+++ b/Lib/distutils/command/bdist_rpm.py
@@ -361,7 +361,7 @@ class bdist_rpm (Command):
spec_file.extend([
'License: ' + self.distribution.get_license(),
'Group: ' + self.group,
- 'BuildRoot: %{_tmppath}/%{name}-buildroot',
+ 'BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot',
'Prefix: %{_prefix}', ])
# noarch if no extension modules