Browse Source

mattermost-plugin-remind version update 0.4.4

Signed-off-by: webbuilder_pel7ppc64bebuilder0 <webbuilder@powerel.org>
master
webbuilder_pel7ppc64bebuilder0 5 years ago
parent
commit
75edb546c6
  1. 16
      SPECS/mattermost-plugin-remind.spec

16
SPECS/mattermost-plugin-remind.spec

@ -4,8 +4,9 @@
%define debug_package %{nil} %define debug_package %{nil}


Name: mattermost-plugin-remind Name: mattermost-plugin-remind
Version: 0.0.1 Version: 0.4.4
Release: 1%{?dist} Release: 1%{?dist}
URL: https://github.com/scottleedavis/mattermost-plugin-remind/
Summary: Plugin for Mattermost and Remind Summary: Plugin for Mattermost and Remind
License: Apache License: Apache
BuildRequires: golang BuildRequires: golang
@ -18,10 +19,16 @@ Requires: mattermost
%prep %prep
%setup -q -T -c %{name}-%{version} %setup -q -T -c %{name}-%{version}
export GOPATH=`pwd` export GOPATH=`pwd`
go get -u -v github.com/golang/dep/cmd/dep go get -u -v github.com/gorilla/mux
mkdir -p src/github.com/mattermost/
mkdir -p src/github.com/scottleedavis/ mkdir -p src/github.com/scottleedavis/
cd src/github.com/scottleedavis/ pushd src/github.com/mattermost
git clone https://github.com/mattermost/mattermost-server
popd
pushd src/github.com/scottleedavis/
git clone https://github.com/scottleedavis/mattermost-plugin-remind git clone https://github.com/scottleedavis/mattermost-plugin-remind
popd





%build %build
@ -29,8 +36,7 @@ export GOPATH=`pwd`
export PATH="bin:"$PATH export PATH="bin:"$PATH
cd src/github.com/scottleedavis/mattermost-plugin-remind cd src/github.com/scottleedavis/mattermost-plugin-remind
pushd server pushd server
$GOPATH/bin/dep ensure go build -o plugin.exe ./server
go build -o plugin.exe
popd popd





Loading…
Cancel
Save