|
|
|
@ -6,7 +6,7 @@
@@ -6,7 +6,7 @@
|
|
|
|
|
#%define debug_package %{nil} |
|
|
|
|
|
|
|
|
|
Name : prometheus |
|
|
|
|
Version : 2.14.0 |
|
|
|
|
Version : 2.28.0 |
|
|
|
|
Release : 1%{dist} |
|
|
|
|
License : MIT |
|
|
|
|
URL : https://prometheus.io |
|
|
|
@ -34,6 +34,8 @@ git clone https://github.com/prometheus/prometheus/
@@ -34,6 +34,8 @@ git clone https://github.com/prometheus/prometheus/
|
|
|
|
|
export GOPATH=`pwd` |
|
|
|
|
cd src/github.com/prometheus/prometheus/ |
|
|
|
|
git checkout tags/v%{version} |
|
|
|
|
sed 's/\&\& yarn/\&\& yarnpkg/' -i Makefile |
|
|
|
|
sed 's/yarn/yarnpkg/g' -i scripts/build_react_app.sh |
|
|
|
|
make build |
|
|
|
|
|
|
|
|
|
|
|
|
|
|