Armed with that, and taking a guess at this packages’ other Golang dependencies from a manual compilation attempt, I put together a spec file which, as you can see, fails to build claiming that “nothing provides golang(…])”.
I have tried locally and OBS with the same result.
First off you will not get anything from the internet in the buildroot, the only way is before build with a _service. In saying that if you remove all of those build requires and do a test build, what is the error? If those requirements are not present in the distribution then you will need to build…
It declares that at the time package is being built another package that Provides string “golang([something])” must be present. If such package is not present (i.e. nothing provides “golang([something])”) rpmbuild fails.
Sometimes such Provides are autogenerated during package build. I am not familiar with golang (or its packaging) so I cannot comment here. After cursory look at Wiki page it sounds like these Provides are added manually.