Use .get_license()
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 10 Aug 2001 18:50:11 +0000 (18:50 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 10 Aug 2001 18:50:11 +0000 (18:50 +0000)
Lib/distutils/command/bdist_rpm.py

index 465949453378140488512a4758a0ae16fa728786..92de935825a8001bc22dae1113de10f1476e5b04 100644 (file)
@@ -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}', ])