I'm packaging go-netrc from git-lfshere and the new macros export %{goname} as golang-github-lfs-netrc. I understand that -go- is removed because it's all over the place in Go package names.
I don't understand why -git- is removed from %{goname} though. Looking at #3, none of them have a -git- in the name. Looking at the full list of Go packages (about double what's in #3), there are only 3 with -git- in the name. So it doesn't look like using -git- in the name is some big problem with Go packages that it needs to be stripped out.
I'm packaging go-netrc from git-lfs here and the new macros export
%{goname}
asgolang-github-lfs-netrc
. I understand that-go-
is removed because it's all over the place in Go package names.I don't understand why
-git-
is removed from%{goname}
though. Looking at #3, none of them have a-git-
in the name. Looking at the full list of Go packages (about double what's in #3), there are only 3 with-git-
in the name. So it doesn't look like using-git-
in the name is some big problem with Go packages that it needs to be stripped out.