mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Use .get_license()
This commit is contained in:
parent
fa7dc57d6c
commit
db988b1ed3
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ class bdist_rpm (Command):
|
||||||
spec_file.append('Source0: %{name}-%{version}.tar.gz')
|
spec_file.append('Source0: %{name}-%{version}.tar.gz')
|
||||||
|
|
||||||
spec_file.extend([
|
spec_file.extend([
|
||||||
'Copyright: ' + self.distribution.get_licence(),
|
'Copyright: ' + self.distribution.get_license(),
|
||||||
'Group: ' + self.group,
|
'Group: ' + self.group,
|
||||||
'BuildRoot: %{_tmppath}/%{name}-buildroot',
|
'BuildRoot: %{_tmppath}/%{name}-buildroot',
|
||||||
'Prefix: %{_prefix}', ])
|
'Prefix: %{_prefix}', ])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue