Browse Source

icingadb update to v1.2.0

Signed-off-by: monitorbuilder_pel7ppc64lebuilder0 <monitorbuilder@powerel.org>
master
monitorbuilder_pel7ppc64lebuilder0 6 months ago
parent
commit
b0a7dd5ce1
  1. 4
      SPECS/icingadb.spec

4
SPECS/icingadb.spec

@ -9,7 +9,7 @@
%define service %{name}.service %define service %{name}.service


Name: icingadb Name: icingadb
Version: 1.1.1 Version: 1.2.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: Icinga DB Summary: Icinga DB
Group: System Environment/Daemons Group: System Environment/Daemons
@ -33,6 +33,8 @@ Icinga DB
git clone https://%{provider_prefix} . git clone https://%{provider_prefix} .


%build %build
git checkout v%{version}
sed 's/go 1.22$/go 1.22.0/' -i go.mod
go build -v -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid "%{version}"" -buildvcs=false -trimpath ./cmd/icingadb go build -v -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid "%{version}"" -buildvcs=false -trimpath ./cmd/icingadb





Loading…
Cancel
Save