فهرست منبع

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>
(cherry picked from commit ecc33ec02a9c137387b9eb820e8e3b55b732d9b5)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yegor Yefremov 2 سال پیش
والد
کامیت
6dade24c43
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      utils/scanpypi

+ 1 - 1
utils/scanpypi

@@ -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))