|
|
|
@ -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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|