mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-26 15:29:04 +01:00
Remove go-toolkit as build requirement for RPM builds if run in CI
This commit is contained in:
parent
02344f30a4
commit
7ee85a07dc
@ -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