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