|
|
@ -5,7 +5,7 @@ |
|
|
|
%define debug_package %{nil} |
|
|
|
%define debug_package %{nil} |
|
|
|
|
|
|
|
|
|
|
|
Name : mattermost |
|
|
|
Name : mattermost |
|
|
|
Version : 5.15.1 |
|
|
|
Version : 5.17.0 |
|
|
|
Release : 1%{dist} |
|
|
|
Release : 1%{dist} |
|
|
|
License : MIT |
|
|
|
License : MIT |
|
|
|
URL : https://mattermost.io |
|
|
|
URL : https://mattermost.io |
|
|
@ -36,8 +36,10 @@ git clone https://github.com/mattermost/mattermost-webapp/ |
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
%build |
|
|
|
export GOPATH=`pwd` |
|
|
|
export GOPATH=`pwd` |
|
|
|
|
|
|
|
export GO111MODULE=on |
|
|
|
cd src/github.com/mattermost/mattermost-server/ |
|
|
|
cd src/github.com/mattermost/mattermost-server/ |
|
|
|
git checkout tags/v%{version} |
|
|
|
git checkout tags/v%{version} |
|
|
|
|
|
|
|
git submodule update --init --recursive |
|
|
|
go get -d ./... |
|
|
|
go get -d ./... |
|
|
|
%ifarch ppc64 ppc64le |
|
|
|
%ifarch ppc64 ppc64le |
|
|
|
sed 's/amd64/%{_arch}/g' -i build/release.mk |
|
|
|
sed 's/amd64/%{_arch}/g' -i build/release.mk |
|
|
|