utils/scanpypi: add LICENCE.TXT to the list of the license files

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yegor Yefremov 2022-11-22 15:50:17 +01:00 committed by Thomas Petazzoni
parent 2cda2584fb
commit ecc33ec02a

View File

@ -487,7 +487,7 @@ class BuildrootPackage():
lines = []
filenames = ['LICENCE', 'LICENSE', 'LICENSE.MD', 'LICENSE.RST',
'LICENSE.TXT', 'COPYING', 'COPYING.TXT']
'LICENCE.TXT', 'LICENSE.TXT', 'COPYING', 'COPYING.TXT']
self.license_files = list(find_file_upper_case(filenames, self.tmp_extract))
lines.append(self.__get_license_names(self.license_files))