%__go_provides %{_rpmconfigdir}/go.prov --goipath "%{?goipath}" --prefix "%{buildroot}" --gopath "%{gopath}" --version "%{?epoch:%{epoch}:}%{version}-%{release}" %{?commit:-a "(commit=%{commit})"} %{?branch:-a "(branch=%{branch})"} %{?tag:-a "(tag=%{tag})"} %__go_requires %{_rpmconfigdir}/go.req --goipath "%{?goipath}" --prefix "%{buildroot}" --gopath "%{gopath}" --version "%{?epoch:%{epoch}:}%{version}-%{release}" %__go_path ^%{gopath}/src/.+/.*$ %__go_magic ^((.*, )?directory|(broken )?symbolic link to .*)$ %__go_flags magic_and_path