* feat: relative path ignore support by @s0up4200 in #398
* feat: Add support showing size of absent git-annex'ed files by @stv0g in #404
* fix: ctrl_z corruption #253 by @yurenchen000 in #406
* fix: item count for --show-item-count by @dundee in #416
* fix: automatically run non-interactive when related flag set by @dundee in #418
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gdu?expand=0&rev=14
* Update to BuildRequires: golang(API) >= 1.21 matching go.mod
* Move ldflags metadata out of ppc64 buildmode PIE conditional
- gdu version output is incomplete when built with normal go build.
Add ldflags to populate metadata needed by bespoke version
reporting implementation. Changelog comments by Jeff Kowalczyk:
* gdu -version ouput with package version 5.29.0:
Version: development
Built time:
Built user:
* Upstream code has a package build/build.go with an
implementation managng the above output.
* Generally we want to remove uses of ldflags for bespoke build
metadata where possible. In this case, give gdu what it
expects for now.
* go1.24+ will have better main module version information in
output of go version -m binaryname. Perhaps that facility and
contacting gdu upstream about the issue will allow us to remove
the ldflags usage from our packaging in the future.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gdu?expand=0&rev=11
- Packaging improvements:
* Drop autosetup -p 1 arg only needed when package has patches
* 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.
* Call go build with relative path to subdirectory containing
func main()
* Add basic %check to execute binary --help
OBS-URL: https://build.opensuse.org/request/show/1166540
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gdu?expand=0&rev=3