Remove go-toolkit as build requirement for RPM builds if run in CI

This commit is contained in:
Thomas Roehl 2024-12-20 18:28:32 +01:00 committed by Thomas Gruber
parent 5ca669951f
commit 1e2e43742f

View File

@ -6,7 +6,9 @@ Summary: Metric collection daemon from the ClusterCockpit suite
License: MIT License: MIT
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
%if "%{getenv:CI}" != "1"
BuildRequires: go-toolset BuildRequires: go-toolset
%endif
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
# for header downloads # for header downloads
BuildRequires: wget BuildRequires: wget