From f6d2c88d11a94fcd1825949daa764383be5ff74b Mon Sep 17 00:00:00 2001 From: webbuilder_pel7ppc64lebuilder0 Date: Sat, 27 Feb 2021 16:55:54 +0100 Subject: [PATCH] mattermost change the version git checkout Signed-off-by: webbuilder_pel7ppc64lebuilder0 --- SPECS/mattermost.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SPECS/mattermost.spec b/SPECS/mattermost.spec index 018bf9a..5c21d70 100644 --- a/SPECS/mattermost.spec +++ b/SPECS/mattermost.spec @@ -39,7 +39,7 @@ git clone https://github.com/mattermost/mattermost-webapp/ export GOPATH=`pwd` export GO111MODULE=on pushd src/github.com/mattermost/mattermost-server/ -git checkout tags/v%{version} +git checkout v%{version} git submodule update --init --recursive go get -d ./... %ifarch ppc64 ppc64le @@ -48,7 +48,7 @@ sed 's/amd64/%{_arch}/g' -i build/release.mk make build-linux popd pushd src/github.com/mattermost/mattermost-webapp/ -git checkout tags/v%{version} +git checkout v%{version} npm install --save # we need to patch optipng from npm git clone https://github.com/imagemin/optipng-bin node_modules/optipng-bin/