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