spec: use go-vendor-tools to generate license

Use go-vendor-tools to generate the license identifiers for our vendored
code. This initial commit does not yet apply the rest of go-vendor-tools
abilities to manage the vendoring itself.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
Simon de Vlieger 2025-01-21 10:15:49 +01:00
parent 3b21375460
commit c009b8ad92
2 changed files with 17 additions and 1 deletions

View file

@ -27,7 +27,10 @@ Summary: An image building executable using osbuild
ExcludeArch: i686 armv7hl
# Upstream license specification: Apache-2.0
License: Apache-2.0
# Others generated with:
# $ go_vendor_license -C <UNPACKED ARCHIVE> report expression
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-SA-4.0 AND ISC AND MIT AND MPL-2.0 AND Unlicense
URL: %{gourl}
Source0: %{gosource}