From 23d80efbc1ca73645b664f924dc5568e277413ab Mon Sep 17 00:00:00 2001 From: jcsiadal Date: Thu, 30 Mar 2023 16:35:48 +0000 Subject: [PATCH] Check for license Signed-off-by: jcsiadal --- tests/ci/check_spec.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/ci/check_spec.py b/tests/ci/check_spec.py index b2e6cea358..bb73948df3 100755 --- a/tests/ci/check_spec.py +++ b/tests/ci/check_spec.py @@ -29,6 +29,9 @@ 'provisioning|rms|runtimes|serial-libs)$', # Need a URL '(^URL:.*$|Url:.*$)', + # RPMs should include their license files; don't use %doc for licenses + # Add a comment if no license file is needed + '(^%License.*$|^# No license.*$)', ] if len(sys.argv) <= 1: