|
|
@ -5,7 +5,7 @@ |
|
|
|
%define debug_package %{nil} |
|
|
|
%define debug_package %{nil} |
|
|
|
|
|
|
|
|
|
|
|
Name : mattermost |
|
|
|
Name : mattermost |
|
|
|
Version : 5.31.2 |
|
|
|
Version : 5.37.2 |
|
|
|
Release : 1%{dist} |
|
|
|
Release : 1%{dist} |
|
|
|
License : MIT |
|
|
|
License : MIT |
|
|
|
URL : https://mattermost.io |
|
|
|
URL : https://mattermost.io |
|
|
@ -41,7 +41,7 @@ export GO111MODULE=on |
|
|
|
pushd src/github.com/mattermost/mattermost-server/ |
|
|
|
pushd src/github.com/mattermost/mattermost-server/ |
|
|
|
git checkout v%{version} |
|
|
|
git checkout v%{version} |
|
|
|
git submodule update --init --recursive |
|
|
|
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 |
|
|
|
%endif |
|
|
|
%endif |
|
|
|