From 6352b18963f57c9d76f8ef43e75ac48fa26706a3 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Mon, 21 Aug 2023 14:26:52 -0400 Subject: [PATCH] rpm: spdx compatible license field The lowercase `and` in the License field isn't compatible with spdx license format. This commit replaces all `and` with `AND` in the License field in spec. Signed-off-by: Lokesh Mandvekar (cherry picked from commit b87a1b3e8ef775fd79215c245b8748ea4692adf0) Signed-off-by: Lokesh Mandvekar --- rpm/skopeo.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpm/skopeo.spec b/rpm/skopeo.spec index f5957a44..99c1dfc8 100644 --- a/rpm/skopeo.spec +++ b/rpm/skopeo.spec @@ -44,7 +44,8 @@ Epoch: %{conditional_epoch} # copr and koji builds. # If you're reading this on dist-git, the version is automatically filled in by Packit. Version: 0 -License: Apache-2.0 and BSD-2-Clause and BSD-3-Clause and ISC and MIT and MPL-2.0 +# The `AND` needs to be uppercase in the License for SPDX compatibility +License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 Release: %autorelease %if %{defined golang_arches_future} ExclusiveArch: %{golang_arches_future}