diff --git a/add-parameters-to-solve-the-strip.patch b/add-parameters-to-solve-the-strip.patch index 28a42ea..4433be0 100644 --- a/add-parameters-to-solve-the-strip.patch +++ b/add-parameters-to-solve-the-strip.patch @@ -10,11 +10,11 @@ diff -Nur a/.promu.yml b/.promu.yml - -X github.com/prometheus/common/version.Branch={{.Branch}} - -X github.com/prometheus/common/version.BuildUser={{user}}@{{host}} - -X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}} -+ -w -s -linkmode=external -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.Version={{.Version}} -+ -w -s -linkmode=external -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.Revision={{.Revision}} -+ -w -s -linkmode=external -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.Branch={{.Branch}} -+ -w -s -linkmode=external -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.BuildUser={{user}}@{{host}} -+ -w -s -linkmode=external -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}} ++ -w -s -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.Version={{.Version}} ++ -w -s -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.Revision={{.Revision}} ++ -w -s -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.Branch={{.Branch}} ++ -w -s -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.BuildUser={{user}}@{{host}} ++ -w -s -extldflags '-Wl,-z,relro -Wl,-z,now -pie' -X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}} tarball: files: - blackbox.yml diff --git a/blackbox_exporter.spec b/blackbox_exporter.spec index 8130b61..f768ccb 100644 --- a/blackbox_exporter.spec +++ b/blackbox_exporter.spec @@ -2,7 +2,7 @@ %define debug_package %{nil} Name: blackbox_exporter Version: 0.23.0 -Release: 2 +Release: 3 Summary: Prometheus blackbox prober exporter License: Apache-2.0 URL: https://github.com/prometheus/blackbox_exporter @@ -43,6 +43,9 @@ install -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service %config(noreplace) %{_sysconfdir}/prometheus/blackbox.yml %changelog +* Fri Mar 10 2023 wulei - 0.23.0-3 +- Delete linkmode + * Thu Mar 02 2023 wulei - 0.23.0-2 - Add strip and pie