mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 23:19:06 +01:00
Remove go-toolkit as build requirement for RPM builds if run in CI
This commit is contained in:
parent
5ca669951f
commit
1e2e43742f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user