Commit 5fb221df authored by Martin v. Löwis's avatar Martin v. Löwis

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

parent 85a862fc
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment