Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f5c0c4 commit cf52524Copy full SHA for cf52524
2 files changed
Lib/distutils/command/bdist_rpm.py
@@ -361,7 +361,7 @@ def _make_spec_file(self):
361
spec_file.extend([
362
'License: ' + self.distribution.get_license(),
363
'Group: ' + self.group,
364
- 'BuildRoot: %{_tmppath}/%{name}-buildroot',
+ 'BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot',
365
'Prefix: %{_prefix}', ])
366
367
# noarch if no extension modules
Misc/NEWS
@@ -57,6 +57,8 @@ Extension modules
57
Library
58
-------
59
60
+- bdist_rpm now includes version and release in the BuildRoot.
61
+
62
- distutils build/build_scripts now has an -e option to specify the
63
path to the Python interpreter for installed scripts.
64
0 commit comments