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 @@ @@ -9,7 +9,7 @@
%define service %{name}.service

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

%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



Loading…
Cancel
Save