From 683225c0640ed9da3727be6ed3831860e7b56f6d Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Wed, 11 Apr 2018 20:17:43 +0000 Subject: abuild: allow SPDX license operators valid operators are AND OR WITH --- abuild.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/abuild.in b/abuild.in index b27a460..7cfa16a 100644 --- a/abuild.in +++ b/abuild.in @@ -841,10 +841,12 @@ check_maintainer() { check_license() { local ret=0 local license_list=/usr/share/spdx/license.lst + local exclude="AND OR WITH" if options_has "!spdx" || ! [ -f "$license_list" ]; then return 0 fi local i; for i in $license; do + list_has "$i" $exclude && continue if ! grep -q -w -F "$i" "$license_list"; then ret=1 warning "\"$i\" is not a known license" -- cgit v1.2.3-60-g2f50