Revisions of doggo

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1119640 from Jeff Kowalczyk's avatar Jeff Kowalczyk (jfkw) (revision 4)
initialized devel package after accepting 1119640
Jeff Kowalczyk's avatar Jeff Kowalczyk (jfkw) accepted request 1119582 from Eyad Issa's avatar Eyad Issa (VaiTon) (revision 3)
- Packaging improvements:
  * Fix zsh-completion and fish-completion by not requiring
    zsh-completion and fish-completion and by supplementing the 
    right package.
  * Fix fish-completion by using the .fish suffix when copying the
    completion file.
Jeff Kowalczyk's avatar Jeff Kowalczyk (jfkw) accepted request 1118746 from Jeff Kowalczyk's avatar Jeff Kowalczyk (jfkw) (revision 2)
- 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
Jeff Kowalczyk's avatar Jeff Kowalczyk (jfkw) accepted request 1118637 from Eyad Issa's avatar Eyad Issa (VaiTon) (revision 1)
Initial submission
Displaying all 4 revisions
openSUSE Build Service is sponsored by