Sync from SUSE:SLFO:Main golang-github-prometheus-promu revision 1f8736b8c8d5c4123d48d4aba4d3874b
This commit is contained in:
parent
a7fd2bea6e
commit
4b70948e61
4
_service
4
_service
@ -4,7 +4,7 @@
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="revision">v0.16.0</param>
|
||||
<param name="revision">v0.17.0</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
@ -16,6 +16,6 @@
|
||||
<param name="basename">promu</param>
|
||||
</service>
|
||||
<service name="go_modules" mode="manual">
|
||||
<param name="archive">promu-0.16.0.obscpio</param>
|
||||
<param name="archive">promu-0.17.0.obscpio</param>
|
||||
</service>
|
||||
</services>
|
||||
|
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 9 11:20:53 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>
|
||||
|
||||
- Fix build error on Red Hat Enterprise Linux
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 13:38:46 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>
|
||||
|
||||
- Update to version 0.17.0:
|
||||
* [FEATURE] Add codesign utility function
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 25 08:29:13 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>
|
||||
|
||||
- Require Go >= 1.21 for building
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 09:20:55 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>
|
||||
|
||||
|
@ -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}"
|
||||
|
BIN
promu-0.16.0.obscpio
(Stored with Git LFS)
BIN
promu-0.16.0.obscpio
(Stored with Git LFS)
Binary file not shown.
BIN
promu-0.17.0.obscpio
(Stored with Git LFS)
Normal file
BIN
promu-0.17.0.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
name: promu
|
||||
version: 0.16.0
|
||||
mtime: 1712139406
|
||||
commit: d4dc1c56d581ecfabe17bc508978672ef44b536b
|
||||
version: 0.17.0
|
||||
mtime: 1713609107
|
||||
commit: 3912dec4ab83971903015cc7b2a8d8ff93b73910
|
||||
|
BIN
vendor.tar.gz
(Stored with Git LFS)
BIN
vendor.tar.gz
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue
Block a user