mirror of
https://github.com/python/cpython.git
synced 2025-09-08 01:41:19 +00:00
Patch #970019: Include version and release in the BuildRoot.
This commit is contained in:
parent
9f5c0c41ce
commit
cf525241bb
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -57,6 +57,8 @@ Extension modules
|
|||
Library
|
||||
-------
|
||||
|
||||
- bdist_rpm now includes version and release in the BuildRoot.
|
||||
|
||||
- distutils build/build_scripts now has an -e option to specify the
|
||||
path to the Python interpreter for installed scripts.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue