Patch #970019: Include version and release in the BuildRoot.

This commit is contained in:
Martin v. Löwis 2004-08-25 13:00:34 +00:00
parent 9f5c0c41ce
commit cf525241bb
2 changed files with 3 additions and 1 deletions

View file

@ -361,7 +361,7 @@ class bdist_rpm (Command):
spec_file.extend([ spec_file.extend([
'License: ' + self.distribution.get_license(), 'License: ' + self.distribution.get_license(),
'Group: ' + self.group, 'Group: ' + self.group,
'BuildRoot: %{_tmppath}/%{name}-buildroot', 'BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot',
'Prefix: %{_prefix}', ]) 'Prefix: %{_prefix}', ])
# noarch if no extension modules # noarch if no extension modules

View file

@ -57,6 +57,8 @@ Extension modules
Library Library
------- -------
- bdist_rpm now includes version and release in the BuildRoot.
- distutils build/build_scripts now has an -e option to specify the - distutils build/build_scripts now has an -e option to specify the
path to the Python interpreter for installed scripts. path to the Python interpreter for installed scripts.