update version and remove golanga 1.22 mod

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 2025-01-10 08:25:21 +01:00
parent 2af4709fd5
commit 541a55c345
1 changed files with 2 additions and 2 deletions

View File

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

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

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