Issue
Following the steps here:
https://www.thegeekstuff.com/2015/02/rpm-build-package-example/
I'm making a RPM package with my program I wrote in golang.
Do I need to actually make the RPM compile the go code? Or is there a way include just binary inside the package? (This is what I did for the .deb version.)
I'm confused because this would mean golang would have to be installed on the end users machine?
Solution
Compared to general RPM packaging examples, the Golang has some specific bits. You can read about them here: https://docs.fedoraproject.org/en-US/packaging-guidelines/Golang/
At the end of that page are some examples.
Answered By - msuchy