gentoo/app-metrics/chrony_exporter/files/0.12.1-binary-name.patch
Holger Hoffstätte b8045b7015
app-metrics/chrony_exporter: add 0.12.1
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://github.com/gentoo/gentoo/pull/42437
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-22 10:45:44 +01:00

16 lines
411 B
Diff

Properly set the binary name in the promu config instead of doing
renaming acrobatics in the ebuild.
--- a/.promu.yml
+++ b/.promu.yml
@@ -5,6 +5,8 @@ go:
repository:
path: github.com/superq/chrony_exporter
build:
+ binaries:
+ - name: chrony_exporter
ldflags: |
-X github.com/prometheus/common/version.Version={{.Version}}
-X github.com/prometheus/common/version.Revision={{.Revision}}