From ea653ff72ede0eafb347c8451f20e3fedbecde17 Mon Sep 17 00:00:00 2001 From: monitorbuilder_pel7ppc64lebuilder0 Date: Sat, 26 Jun 2021 11:48:02 +0200 Subject: [PATCH] update version 2.14.0 and change yarn Signed-off-by: monitorbuilder_pel7ppc64lebuilder0 --- SPECS/prometheus.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SPECS/prometheus.spec b/SPECS/prometheus.spec index 097a0fa..3f2cd4d 100644 --- a/SPECS/prometheus.spec +++ b/SPECS/prometheus.spec @@ -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