diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py index 46594945337..92de935825a 100644 --- a/Lib/distutils/command/bdist_rpm.py +++ b/Lib/distutils/command/bdist_rpm.py @@ -347,7 +347,7 @@ class bdist_rpm (Command): spec_file.append('Source0: %{name}-%{version}.tar.gz') spec_file.extend([ - 'Copyright: ' + self.distribution.get_licence(), + 'Copyright: ' + self.distribution.get_license(), 'Group: ' + self.group, 'BuildRoot: %{_tmppath}/%{name}-buildroot', 'Prefix: %{_prefix}', ])