Packaging Go libraries for Fedora

Lars Seipel lars.seipel at gmail.com
Mon Jul 1 16:31:31 UTC 2013


On Mon, Jul 01, 2013 at 02:39:11PM +0100, Richard W.M. Jones wrote:
> Now as far as I can tell, we can just ignore the $GOPATH stuff, and
> instead drop files into the right places in %_libdir/golang.  It works
> in my single, limited experiment, but I've no idea if this is the
> Right Thing to do.

One issue with this approach is that $GOROOT (i.e. %_libdir/golang)
always takes precedence over $GOPATH. Users would be unable to use
another version of a library that is already installed through RPM.


More information about the devel mailing list