diff --git a/utils/scanpypi b/utils/scanpypi index 9abf3c4139..02384f2569 100755 --- a/utils/scanpypi +++ b/utils/scanpypi @@ -416,8 +416,8 @@ class BuildrootPackage(): license=', '.join(licenses)) lines.append(license_line) - filenames = ['LICENCE', 'LICENSE', 'LICENSE.TXT', 'COPYING', - 'COPYING.TXT'] + filenames = ['LICENCE', 'LICENSE', 'LICENSE.RST', 'LICENSE.TXT', + 'COPYING', 'COPYING.TXT'] license_files = list(find_file_upper_case(filenames, self.tmp_extract)) license_files = [license.replace(self.tmp_extract, '')[1:] for license in license_files]