* Wed Sep 25 2024 witold.bedyk@suse.com
- Require Go >= 1.21 for building
* Mon Sep 23 2024 witold.bedyk@suse.com
- Drop 0001-do_not_discover_user_host_for_reproducible_builds.patch
- Require Go 1.21 for building
- Packaging improvements:
* Use obscpio, run tar and recompresss services at buildtime.
* _service change disabled to manual per osc deprecation warning:
WARNING: Command 'disabledrun/dr' is obsolete, please convert
your _service to use 'manual' and then 'manualrun/mr' instead.
* Disable automatic chagelog file generation.
* Define shortname corresponding to binary name when different
from package name. Use shortname where applicable to normalize
common lines across Go app packages, similar to name macro.
* Drop BuildRequires: 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.
* Drop export CGO_ENABLED="0". Use the default unless there is a
defined requirement or benefit (bsc#1230623).
* 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.
* Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable
* 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 go build -o arg, default binary name is pkg of main()
* Add basic %check to execute binary --help
- Update to version 0.16.0:
* Do not discover user/host for reproducible builds
* Fix example/prometheus build error
- Update to version 0.15.0:
* Add linux/riscv64 to default platforms
* Use yaml.Unmarshalstrict to validate configuration files
Version: 0.14.0-150000.3.15.2
* Mon Aug 21 2023 witold.bedyk@suse.com
- Always set user and host build metadata to constant string to
achieve reproducible builds (compare reproducible-builds.org)
- Add 0001-do_not_discover_user_host_for_reproducible_builds.patch
- Require Go >= 1.19 for building
- Require Go >= 1.18 for building Red Hat packages
* Tue Jan 10 2023 kastl@b1-systems.de
- Update to version 0.14.0 (jsc#PED-3576):
* Add the ability to override tags per GOOS
* Remove ioutil
* Update common Prometheus files (#232) (#224)
* Validate environment variable value
* Set build date from SOURCE_DATE_EPOCH
- drop patch 0001-Set-build-date-from-SOURCE_DATE_EPOCH.patch that is
included upstream now
* Mon Oct 31 2022 witold.bedyk@suse.com
- Do not include source code
- Update to Go 1.18
* Tue Sep 27 2022 dmueller@suse.com
- switch to go1.17 as upstream does (see https://github.com/prometheus/promu/blob/v0.13.0/.promu.yml)
- remove go_nostrip as it isn't necessary with 1.17 anymore
* Tue May 10 2022 jmassaguerpla@suse.com
- Exclude s390 architecture.
* Tue Apr 26 2022 witold.bedyk@suse.com
- Set build date from last changelog modification (boo#1047218)
- Add 0001-Set-build-date-from-SOURCE_DATE_EPOCH.patch
* Fri Apr 01 2022 stefan.bluhm@clacee.eu
- Adapted for Enterprise Linux build.
* Thu Mar 03 2022 ecsos@opensuse.org
- Update to version 0.13.0:
* Release 0.13.0 (jsc#SLE-24138, jsc#SLE-24139)
* Add deprecation note to pkg directory
* Add windows/arm64
* Update common Prometheus files
* Fix typo
* Release 0.12.0
* Simplify CGO crossbuilds
* Update common Prometheus files
* Release 0.11.1
* Fix build with "linux" platform
* Mon Mar 08 2021 witold.bedyk@suse.com
- Build requires Go 1.15
* Fri Feb 07 2020 witold.bedyk@suse.com
- Update to 0.5.0
+ Features:
* Add support for aix/ppc64. #151
* Fallback to git describe output if no VERSION. #130
* Make extldflags extensible by configuration. #125
+ Enhancements:
* cmd/release: add --timeout option. #142
* cmd/release: create release in GitHub if none exists. #148
* Avoid bind-mounting to allow building with a remote docker engine #95
+ Bug Fixes:
* cmd/tarball: restore --prefix flag. #133
* cmd/release: don't leak credentials in case of error. #136
- Use obs-service-go_modules
* Fri Feb 08 2019 jan.fajerski@suse.com
- Update to 0.2.0
+ Features:
* Adding changes to support s390x
* Add option to disable static linking
* Add support for 32bit MIPS.
* Added check_licenses Command to Promu
+ Enhancements:
* Allow to customize nested options via env variables
* Bump Go version to 1.11
* Add warning if promu info is unable to determine repo info
+ Bug Fixes:
* Fix build on SmartOS by not setting gcc's -static flag
* Fix git repository url parsing