update version 2.14.0 and change yarn

Signed-off-by: monitorbuilder_pel7ppc64lebuilder0 <monitorbuilder@powerel.org>
master
monitorbuilder_pel7ppc64lebuilder0 2021-06-26 11:48:02 +02:00
parent 390abd80c2
commit ea653ff72e
1 changed files with 3 additions and 1 deletions

View File

@ -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