Go to file
Jeff Kowalczyk 6ff09ab0e8 Accepting request 1118746 from home:jfkw:branches:devel:languages:go
- Packaging improvements:
  * Use subpackages for fish-completion and zsh-completion.
    Upstream currently has no bash completion scripts. Fish and zsh
    subpackages are marked Suggests: and not installed by default.
    If a bash-completion subpackage becomes available, we should
    install that by default.
  * Build PIE with pattern that may become recommended procedure:
    %%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
    A go toolchain buildmode default config would be preferable
    but none exist at this time.
  * Remove ldflags -X entries for upstream import path and version.
    This information is embedded in binaries with go1.18+ and
    available via go version -m or runtime/debug.ReadBuildInfo().
  * Remove ldflags -s (Omit symbol table and debug info) and -w
    (Omit DWARF symbol table). This information is used to produce
    separate debuginfo packages and binaries are stripped for
    reduced size by GNU strip during RPM build.
  * Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable
  * Use %%name macro where applicable to normalize common lines
    across Go app packages. Also makes renaming binary easier when
    required to handle package name conflict.
  * Remove bash loop for two paramaterized calls of go build.
    The loop technique is nice for large lists, but making the two
    go build calls explicit seems a better readability tradeoff.
  * Add sample API config as doc

OBS-URL: https://build.opensuse.org/request/show/1118746
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/doggo?expand=0&rev=2
2023-10-20 03:42:49 +00:00
_service Accepting request 1118637 from home:VaiTon:branches:devel:languages:go 2023-10-18 18:46:50 +00:00
_servicedata Accepting request 1118637 from home:VaiTon:branches:devel:languages:go 2023-10-18 18:46:50 +00:00
.gitattributes Accepting request 1118637 from home:VaiTon:branches:devel:languages:go 2023-10-18 18:46:50 +00:00
doggo-0.5.7.obscpio Accepting request 1118637 from home:VaiTon:branches:devel:languages:go 2023-10-18 18:46:50 +00:00
doggo.changes Accepting request 1118746 from home:jfkw:branches:devel:languages:go 2023-10-20 03:42:49 +00:00
doggo.obsinfo Accepting request 1118637 from home:VaiTon:branches:devel:languages:go 2023-10-18 18:46:50 +00:00
doggo.spec Accepting request 1118746 from home:jfkw:branches:devel:languages:go 2023-10-20 03:42:49 +00:00
vendor.tar.xz Accepting request 1118637 from home:VaiTon:branches:devel:languages:go 2023-10-18 18:46:50 +00:00