|
|
@ -6,6 +6,7 @@ |
|
|
|
Name: mattermost-plugin-walltime |
|
|
|
Name: mattermost-plugin-walltime |
|
|
|
Version: 0.1.1 |
|
|
|
Version: 0.1.1 |
|
|
|
Release: 1%{?dist} |
|
|
|
Release: 1%{?dist} |
|
|
|
|
|
|
|
URL: https://github.com/mattermost/mattermost-plugin-walltime |
|
|
|
Summary: Plugin for Mattermost to convert time |
|
|
|
Summary: Plugin for Mattermost to convert time |
|
|
|
License: Apache |
|
|
|
License: Apache |
|
|
|
BuildRequires: golang |
|
|
|
BuildRequires: golang |
|
|
@ -18,6 +19,7 @@ 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/pkg/errors |
|
|
|
mkdir -p src/github.com/mattermost/ |
|
|
|
mkdir -p src/github.com/mattermost/ |
|
|
|
cd src/github.com/mattermost/ |
|
|
|
cd src/github.com/mattermost/ |
|
|
|
git clone https://github.com/mattermost/mattermost-server |
|
|
|
git clone https://github.com/mattermost/mattermost-server |
|
|
|