I'd like to package a Go application [1] that provides a tarball for each stable release. That's great, but it seems that I have two options:

1. Use the tarball as a source in the spec file, the proceed as usual. The Makefile included with this tarball will handle all the Go dependencies.

2. Treat this as a Go application, avoid the tarball and have the spec file define all the BuildRequires.

Thoughts? I've been packaging for ages but this will be my first Golang package. One way seems easier but might not be the best way. Cheers.


[1] https://github.com/haproxytech/dataplaneapi