From 4b70948e614f6d062721291517df54c4535746d96971104460f2e225dbcd2b88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 20 Dec 2024 16:04:35 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main golang-github-prometheus-promu revision 1f8736b8c8d5c4123d48d4aba4d3874b --- _service | 4 ++-- golang-github-prometheus-promu.changes | 16 ++++++++++++++++ golang-github-prometheus-promu.spec | 14 ++++++++++++-- promu-0.16.0.obscpio | 3 --- promu-0.17.0.obscpio | 3 +++ promu.obsinfo | 6 +++--- vendor.tar.gz | 4 ++-- 7 files changed, 38 insertions(+), 12 deletions(-) delete mode 100644 promu-0.16.0.obscpio create mode 100644 promu-0.17.0.obscpio diff --git a/_service b/_service index 3a57ad8..6647fad 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ git .git @PARENT_TAG@ - v0.16.0 + v0.17.0 v(.*) @@ -16,6 +16,6 @@ promu - promu-0.16.0.obscpio + promu-0.17.0.obscpio diff --git a/golang-github-prometheus-promu.changes b/golang-github-prometheus-promu.changes index b63b5d9..c40bf0f 100644 --- a/golang-github-prometheus-promu.changes +++ b/golang-github-prometheus-promu.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Dec 9 11:20:53 UTC 2024 - Witek Bedyk + +- Fix build error on Red Hat Enterprise Linux + +------------------------------------------------------------------- +Tue Nov 26 13:38:46 UTC 2024 - Witek Bedyk + +- Update to version 0.17.0: + * [FEATURE] Add codesign utility function + +------------------------------------------------------------------- +Wed Sep 25 08:29:13 UTC 2024 - Witek Bedyk + +- Require Go >= 1.21 for building + ------------------------------------------------------------------- Mon Sep 23 09:20:55 UTC 2024 - Witek Bedyk diff --git a/golang-github-prometheus-promu.spec b/golang-github-prometheus-promu.spec index 683e975..02d48a9 100644 --- a/golang-github-prometheus-promu.spec +++ b/golang-github-prometheus-promu.spec @@ -16,10 +16,16 @@ # +%if 0%{?rhel} +%global debug_package %{nil} +# Fix ERROR: No build ID note found in +%undefine _missing_build_ids_terminate_build +%endif + %define shortname promu Name: golang-github-prometheus-promu -Version: 0.16.0 +Version: 0.17.0 Release: 0 Summary: Prometheus Utility Tool License: Apache-2.0 @@ -35,7 +41,7 @@ ExcludeArch: s390 %undefine _missing_build_ids_terminate_build BuildRequires: golang >= 1.21 %else -BuildRequires: golang(API) = 1.21 +BuildRequires: golang(API) >= 1.21 %endif %description @@ -53,6 +59,10 @@ go build %check # execute the binary as a basic check ./%{shortname} --help +%if 0%{?rhel} +rm -f %{buildroot}/usr/lib/debug%{_bindir}/%{shortname}*.debug +rm -rf %{buildroot}/usr/lib/debug/.build-id/* +%endif %install install -D -m 0755 %{shortname} "%{buildroot}/%{_bindir}/%{shortname}" diff --git a/promu-0.16.0.obscpio b/promu-0.16.0.obscpio deleted file mode 100644 index 9ce1618..0000000 --- a/promu-0.16.0.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ae77b9d543507c4719d8402ec817dac7bc93c481c29ed3b30b23e5f242010634 -size 125451 diff --git a/promu-0.17.0.obscpio b/promu-0.17.0.obscpio new file mode 100644 index 0000000..42f1cb4 --- /dev/null +++ b/promu-0.17.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6664c881a7f3f5768d2f35ac67f66783e782de17ac348a4ec67aafdae88530f2 +size 125963 diff --git a/promu.obsinfo b/promu.obsinfo index c7cfcb2..34d6418 100644 --- a/promu.obsinfo +++ b/promu.obsinfo @@ -1,4 +1,4 @@ name: promu -version: 0.16.0 -mtime: 1712139406 -commit: d4dc1c56d581ecfabe17bc508978672ef44b536b +version: 0.17.0 +mtime: 1713609107 +commit: 3912dec4ab83971903015cc7b2a8d8ff93b73910 diff --git a/vendor.tar.gz b/vendor.tar.gz index bc34bd2..1e45e22 100644 --- a/vendor.tar.gz +++ b/vendor.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6480d06ef3bb28f425ab76211b43eddee6f50b8b77183f5d79ff4a00c80e4327 -size 590964 +oid sha256:c927fc049094514a2f72eaad0cd4c8236fdfc2584644a8380a5bd2f6c18f287c +size 283669