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
parent 02344f30a4
commit 7ee85a07dc

View File

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