update version 2.14.0 and change yarn
Signed-off-by: monitorbuilder_pel7ppc64lebuilder0 <monitorbuilder@powerel.org>master
parent
390abd80c2
commit
ea653ff72e
|
@ -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/
|
|||
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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue