mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue