|
|
|
@ -6,7 +6,7 @@
@@ -6,7 +6,7 @@
|
|
|
|
|
#%define debug_package %{nil} |
|
|
|
|
|
|
|
|
|
Name : grafana |
|
|
|
|
Version : 6.0.0 |
|
|
|
|
Version : 6.5.0 |
|
|
|
|
Release : 1%{dist} |
|
|
|
|
License : MIT |
|
|
|
|
URL : http://gogs.io |
|
|
|
@ -27,7 +27,6 @@ analytics and monitoring
@@ -27,7 +27,6 @@ analytics and monitoring
|
|
|
|
|
%prep |
|
|
|
|
%setup -T -q -c %{name}-%{version} |
|
|
|
|
export GOPATH=`pwd` |
|
|
|
|
#go get -u -v github.com/grafana/grafana |
|
|
|
|
mkdir -p src/github.com/grafana/ |
|
|
|
|
cd src/github.com/grafana/ |
|
|
|
|
git clone https://github.com/grafana/grafana/ |
|
|
|
@ -37,6 +36,7 @@ git clone https://github.com/grafana/grafana/
@@ -37,6 +36,7 @@ git clone https://github.com/grafana/grafana/
|
|
|
|
|
export GOPATH=`pwd` |
|
|
|
|
cd src/github.com/grafana/grafana |
|
|
|
|
git checkout tags/v%{version} |
|
|
|
|
go mod download |
|
|
|
|
go run build.go setup |
|
|
|
|
go run build.go build |
|
|
|
|
|
|
|
|
|