On Wed, Jun 22, 2016 at 12:02 AM, Jordi Massaguer Pla
I see! That is cool. I wasn't aware of that
https://github.com/marguerite/golang-packaging/blob/master/macros.go#L96 https://github.com/marguerite/golang-packaging/blob/master/macros.go#L100
So I guess one only needs to add
%gosrc_package(NAME:REQUIRES)
and in the install section
%gosrc
is that it?
Yes, although I think I need to decoupe the %{name} and %{name}-source packages. Unlike C stuff, if %{name}-source is installed, there's no need to install %{name} again. And for end users, installation of %{name} will not drag %{name}-source... One shortcoming for the current %gosrc is: It can't determine the data files. Usually there's no data files at all. But if there is (I met once when packaging lime text editor), I think nobody can do anything with scripts. Situations are different. So it may requires packagers to investigate in such cases. Marguerite -- To unsubscribe, e-mail: opensuse-go+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-go+owner@opensuse.org