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:
parent
2cda2584fb
commit
ecc33ec02a
@ -487,7 +487,7 @@ class BuildrootPackage():
|
|||||||
lines = []
|
lines = []
|
||||||
|
|
||||||
filenames = ['LICENCE', 'LICENSE', 'LICENSE.MD', 'LICENSE.RST',
|
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))
|
self.license_files = list(find_file_upper_case(filenames, self.tmp_extract))
|
||||||
|
|
||||||
lines.append(self.__get_license_names(self.license_files))
|
lines.append(self.__get_license_names(self.license_files))
|
||||||
|
Loading…
Reference in New Issue
Block a user