summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/bdist_rpm.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/command/bdist_rpm.py')
-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