diff --git a/add-parameters-to-solve-the-strip.patch b/add-parameters-to-solve-the-strip.patch index 55db359f6dabafab7ba991fb0732a71f4a58d984..2e11d79fe464049f6e64a3deac67d37157b21cac 100644 --- a/add-parameters-to-solve-the-strip.patch +++ b/add-parameters-to-solve-the-strip.patch @@ -12,8 +12,8 @@ index 45081b8..d586c86 100644 --- a/.promu.yml +++ b/.promu.yml @@ -10,12 +10,11 @@ build: + all: [netgo, static_build] windows: [static_build] - flags: -a ldflags: | - -s - -X github.com/prometheus/common/version.Version={{.Version}} diff --git a/promu-0.15.0.tar.gz b/promu-0.15.0.tar.gz deleted file mode 100644 index f1db5622ec129d1377f164eac30a7c8705a1dc14..0000000000000000000000000000000000000000 Binary files a/promu-0.15.0.tar.gz and /dev/null differ diff --git a/promu-0.17.0.tar.gz b/promu-0.17.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0e8dba0095e5712dc02cd9ec14702cce5760dd3b Binary files /dev/null and b/promu-0.17.0.tar.gz differ diff --git a/promu.spec b/promu.spec index e0b9093d3ca246b637d4a7d682ff813643caa2da..3217f49b9e2f86d0da2e022c2e0bbaf1b9167dd7 100644 --- a/promu.spec +++ b/promu.spec @@ -1,12 +1,12 @@ %define debug_package %{nil} Name: promu -Version: 0.15.0 +Version: 0.17.0 Release: 1 Summary: Prometheus Utility Tool License: Apache-2.0 URL: https://github.com/prometheus/promu -Source0: https://github.com/prometheus/promu/archive/refs/tags/v%{version}.tar.gz#/promu-0.15.0.tar.gz +Source0: https://github.com/prometheus/promu/archive/refs/tags/v%{version}.tar.gz#/promu-0.17.0.tar.gz # tar -xvf Source0 # run 'go mod vendor' in it # tar -czvf promu-vendor.tar.gz vendor @@ -39,6 +39,9 @@ install -D -m 0755 %{name}-%{version} %{buildroot}%{_bindir}/promu %{_bindir}/promu %changelog +* Thu Jun 20 2024 zhangxingrong - 0.17.0-1 +- update to 0.17.0 + * Thu Sep 07 2023 jiangxinyu - 0.15.0-1 - Update package to version 0.15.0