%prep
%setup -n %{name}-%{version}
export GOPATH=pwd
cd src/github.com/linkedin/Burrow
go install
export GOPATH=/rpmbuild/BUILD/Burrow-1.0.0
GOPATH=/rpmbuild/BUILD/Burrow-1.0.0
cd src/github.com/linkedin/Burrow
rpmbuild/BUILD/rpm-tmp.vJXbAg: line 38: cd: src/github.com/linkedin/Burrow: No such file or directory
error: Bad exit status from rpmbuild/BUILD/rpm-tmp.vJXbAg (%prep)
It's not clear to me what this has to do with Burrow. This appears to be a problem with your RPM build, and the error apperas to be that you don't even have the Burrow source downloaded.
%prep %setup -n %{name}-%{version} export GOPATH=
pwd
cd src/github.com/linkedin/Burrow go install