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