From fb702ea01facd38527404a3c05d2f6f1dfcbb469 Mon Sep 17 00:00:00 2001 From: "Brett T. Warden" Date: Wed, 4 Jun 2025 15:03:09 -0700 Subject: [PATCH] Detect Intel Simplified Software License --- autospec/license.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autospec/license.py b/autospec/license.py index fa0421ca..419b8492 100644 --- a/autospec/license.py +++ b/autospec/license.py @@ -175,7 +175,7 @@ def scan_for_licenses(srcdir, config, pkg_name): "about_bsd.txt"] # look for files that start with copying or licen[cs]e (but are # not likely scripts) or end with licen[cs]e - target_pat = re.compile(r"^((copying)|(licen[cs]e)|(e[dp]l-v\d+))|(licen[cs]e)(\.(txt|xml))?$") + target_pat = re.compile(r"^((copying)|(licen[cs]e)|(e[dp]l-v\d+))|(licen[cs]e)(\.(txt|xml))?|(intel simplified software license.*\.txt)$") for dirpath, dirnames, files in os.walk(srcdir): for name in files: if name.lower() in targets or target_pat.search(name.lower()):