diff --git a/scripts/cc-metric-collector.spec b/scripts/cc-metric-collector.spec index 6a5e219..008f190 100644 --- a/scripts/cc-metric-collector.spec +++ b/scripts/cc-metric-collector.spec @@ -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