diff --git a/grafana.spec b/grafana.spec index ada6d1fa795ac277c523074f5bdff6958c4a369d..f337812861917d36530a06d0380a93331ab1e721 100644 --- a/grafana.spec +++ b/grafana.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %global grafana_arches %{lua: go_arches = {} for arch in rpm.expand("%{go_arches}"):gmatch("%S+") do go_arches[arch] = 1 @@ -20,7 +21,7 @@ end} Name: grafana Version: 7.5.9 -Release: 4%{?dist} +Release: 4%{anolis_release}%{?dist} Summary: Metrics dashboard and graph editor License: ASL 2.0 URL: https://grafana.org @@ -494,6 +495,8 @@ ln -s %{_builddir}/%{name}-%{version} \ # Build the frontend %if %{compile_frontend} %{SOURCE5} +# export GO111MODULE=off +go env -w GOPROXY=https://goproxy.cn %endif # Build the backend @@ -661,6 +664,9 @@ GOLANG_FIPS=1 go test -v ./pkg/util -run TestEncryption %changelog +* Wed Dec 15 2021 Liwei Ge 7.5.9-4.0.1 +- Use cn proxy for go build + * Wed Oct 06 2021 Andreas Gerstmayr 7.5.9-4 - resolve CVE-2021-39226