[go-rpm-macros] Issue #68: go_mod_vendor: add a macro for adding modules.txt to %files

2024-04-19 Thread Maxwell G
gotmax23 reported a new issue against the project: `go-rpm-macros` that you are following: `` Instead of ``` %files %license vendor/modules.txt ``` we should allow something like ``` %files %go_vendor_file vendor/modules.txt ``` where `%go_vendor_file` just expands to `%license`. This way, if

Replacement for -X link option

2024-04-19 Thread Brad Smith
The go tool link command has a -X option (see go doc cmd/link): -X importpath.name=value Set the value of the string variable in importpath named name to value. This is only effective if the variable is declared in the source code either uninitialized or initialized to a