<div dir="ltr">Any one have experience creating a spec file for a golang project?<div>I am trying to follow <a href="https://fedoraproject.org/wiki/PackagingDrafts/Go">https://fedoraproject.org/wiki/PackagingDrafts/Go</a> but with no success.</div><div><br></div><div>Here is my compile line </div><div>%gobuild -ldflags -X main.AppVersion=%{Version} -o bin/go-md2man %{buildroot} go/cmd/orchestrator/main.go</div><div><br></div><div>And here is my error</div><div><div>+ GOPATH=/home/boneal/rpmbuild/BUILD/orchestrator-1.4.550:/usr/share/gocode</div><div>++ go version</div><div>+ echo 'Building via go version go1.4.2 linux/amd64'</div><div>Building via go version go1.4.2 linux/amd64</div><div>+ %gobuild -ldflags -X 'main.AppVersion=%{Version}' -o /home/boneal/rpmbuild/BUILDROOT/orchestrator-1.4.550-1.x86_64 go/cmd/orchestrator/main.go</div><div>/var/tmp/rpm-tmp.Atohvw: line 40: fg: no job control</div><div>error: Bad exit status from /var/tmp/rpm-tmp.Atohvw (%build)</div></div><div><br></div><div>I have tried using -o go-m2dman and -o /usr/bin/go-md2man they result in the same error. Same with removing the ldflags and the version. </div><div><br></div><div><br></div></div>