From ee280e5b1a92f1e4e9dc77fef35719c2ee2b338f Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Nov 09 2025 23:56:17 +0000 Subject: golang: clarify vendor/modules.txt instructions With the latest Go Vendor Tools, `%license vendor/modules.txt` no longer needs to be listed explicitly. The text of the guidelines is correct, but the code snippet still showed it listed alongside `%files -f %{go_vendor_license_filelist}`. --- diff --git a/guidelines/modules/ROOT/pages/Golang.adoc b/guidelines/modules/ROOT/pages/Golang.adoc index a2f031f..df7eed1 100644 --- a/guidelines/modules/ROOT/pages/Golang.adoc +++ b/guidelines/modules/ROOT/pages/Golang.adoc @@ -211,6 +211,7 @@ and then the generator will scan the file and create the `+bundled()+` Provides. [source, rpm-spec] ---- +# Only necessary to include explicitly when not using %%go_vendor_license_filelist %license vendor/modules.txt ---- @@ -343,7 +344,6 @@ files that can be passed to `+%files -f+`. [source,rpm-spec] ---- %files -f %{go_vendor_license_filelist} -%license vendor/modules.txt ---- === Checking licenses