RPM spec file for Go Build with sudo yum install rpmdevtools yum-utils sudo yum-builddep go.spec rpmdev-setuptree spectool -R -g go.spec rpmbuild -bb go.spec