Update to version 0.12.2. The initial version was intended to be 0.12.2, so revise the changelog to reflect.
There is an uncommon situation in the upstream repo where tags gopls/v0.12.1 and gopls/v0.12.2 point to the same commit without explanation. This is causing some confusion for tar_scm which tries to select the earlier gopls/v0.12.2. Fix the tarball to reflect latest tagged version, this corner case is unlikely to happen often.
OBS-URL: https://build.opensuse.org/request/show/1090974
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=3
- Refactor tarball unpacked sources layout with gopls/ as subdir.
This allows us to include the LICENSE file at the upstream
monorepo repository root. The changes required for the subdir
layout are perhaps excessive for including just one metadata
file, but serves as a good exercise for packaging other utilities
under Go x/tools monorepo.
* Upstream uses monorepo x/tools/ with gopls/ and others in subdirs
* Upstream monorepo shared tools/LICENSE file in repository root dir
* Move param subdir gopls usage from tar_scm to go_modules
* tar_scm param include gopls and LICENSE
* tar_scm param drop extraneous param exclude .git
* Creates gopls-0.12.0.tar.gz unpacked layout gopls-0.12.0/gopls/go.mod
* New layout requires moving LICENSE and vendor/ to subdir in %prep
* New layout requires change to subdir in %build
* New layout requires use path to subdir in %check, %install, %files
OBS-URL: https://build.opensuse.org/request/show/1090970
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=2