From e9c04df76aabad3aedd61e829833dc128bf0a6cf Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Sep 19 2022 14:44:23 +0000 Subject: Use uppercase AND as the license delimiter SPDX license identifiers are supposed to use uppercase boolean operators. --- diff --git a/go2rpm/__main__.py b/go2rpm/__main__.py index c2ea870..eb79fad 100644 --- a/go2rpm/__main__.py +++ b/go2rpm/__main__.py @@ -179,7 +179,7 @@ def detect_license(git_local_path): licenses.add(json.loads(j)["result"]["license"]["name"]) except KeyError: pass - return " and ".join(list(licenses)) + return " AND ".join(list(licenses)) def get_license_files(git_local_path):