SHA256
1
0
forked from pool/tpm-fido
Commit Graph

3 Commits

Author SHA256 Message Date
Jeff Kowalczyk
7342de0c6c Accepting request 1094898 from home:dheidler:branches:devel:languages:go
- Update to version 20230621.5f8828b:
  * Add build/test workflow
  * Fix builds on 32bit architectures

OBS-URL: https://build.opensuse.org/request/show/1094898
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/tpm-fido?expand=0&rev=4
2023-06-25 03:29:45 +00:00
Jeff Kowalczyk
7ee382e87c Accepting request 1094108 from home:jfkw:branches:devel:languages:go
- Add BuildRequires: golang(API) >= 1.16 (min version per go.mod)
  This or metapackage BuildRequires: go are recommended to pull in
  the Go toolchain.
- Drop Requires: golang-packaging. The original macros for file
  movements into GOPATH are obsolete with Go modules. Macro
  go_nostrip is no longer needed with current binutils and Go.
- Remove manual call to strip the binary. Go binaries are stripped
  automatically in the default configuration.
  Refs boo#1210938
  * GNU strip circa 2016 would incorrectly strip Go intermediate
    step .a binaries (which are not .a ar archives) and write out
    an invalid binary instead of erroring on unrecognized format.
  * Error manifested in Go applications as fmt.a: go archive is
    missing __.PKGDEF on OBS built Go binaries which had passed
    their binary build step but fail at debuginfo creation step
    (which involves binary stripping).
  * The primary use of Go intermediate step .a binaries was for a
    precompiled standard library cache. The .a files comprised
    large fraction of the on-disk >=go1.19 toolchain package size.
  * go1.20+ now use the normal Go build cache for the Go standard
    library. Go intermediate step .a archives are no longer part of
    the regular build process and not affected by GNU strip
    misidentifying them as ar archives.
    https://go.dev/doc/go1.20#go-command
- Use _service mode manual as better alias name than disabled

OBS-URL: https://build.opensuse.org/request/show/1094108
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/tpm-fido?expand=0&rev=2
2023-06-20 15:10:32 +00:00
Jeff Kowalczyk
c5eaccb96f Accepting request 1093789 from home:dheidler
New Package

OBS-URL: https://build.opensuse.org/request/show/1093789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/tpm-fido?expand=0&rev=1
2023-06-19 23:21:04 +00:00