Browse Source

update version 2.14.0 and change yarn

Signed-off-by: monitorbuilder_pel7ppc64lebuilder0 <monitorbuilder@powerel.org>
master
monitorbuilder_pel7ppc64lebuilder0 3 years ago
parent
commit
ea653ff72e
  1. 4
      SPECS/prometheus.spec

4
SPECS/prometheus.spec

@ -6,7 +6,7 @@
#%define debug_package %{nil} #%define debug_package %{nil}


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





Loading…
Cancel
Save