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([
'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