openSUSE talk:Packaging Go
Why cannot RPM figure out dependencies of GO package?
golang can do it just fine.
Invalid 'NOTE' on 'quoting' Macros
The page contains a section titled: NOTE: Some macros can not be quoted
IHMO, this note is incorrect: due to implementation of these macros the macros need to look like this: %goprep golang.org/import/path however, this form is perfectly fine: %{goprep} golang.org/import/path
If the macros were implemented slightly differently, ie, like: %goprep() \ %{_prefix}/lib/rpm/golang.sh prep %{*}
%{goprep golang.org/import/path} would also work - including the two other variants.