<div dir="ltr">Macro is not expanding. <br>Now I am just having issues with go not finding some sources.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 9, 2016 at 10:57 AM, Bryan O'Neal <span dir="ltr"><<a href="mailto:Bryan.ONeal@theonealandassociates.com" target="_blank">Bryan.ONeal@theonealandassociates.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">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>
</blockquote></div><br></div>