|
|
|
@ -2,7 +2,7 @@
@@ -2,7 +2,7 @@
|
|
|
|
|
%define debug_package %{nil} |
|
|
|
|
|
|
|
|
|
Name: matterbridge |
|
|
|
|
Version: 1.17.0 |
|
|
|
|
Version: 1.22.0 |
|
|
|
|
Release: 1%{?dist} |
|
|
|
|
Summary: Bridge to your chat channels |
|
|
|
|
Group: System/Library |
|
|
|
@ -27,8 +27,8 @@ go get -u -v github.com/42wim/matterbridge
@@ -27,8 +27,8 @@ go get -u -v github.com/42wim/matterbridge
|
|
|
|
|
%build |
|
|
|
|
export GOPATH=`pwd` |
|
|
|
|
cd src/github.com/42wim/matterbridge |
|
|
|
|
git checkout tags/v%{version} |
|
|
|
|
go build -ldflags '-extldflags -s -w -buildid %{version}' |
|
|
|
|
git checkout v%{version} |
|
|
|
|
go build -v -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid "%{version}" -X 'main.Version="%{version}"' -X 'main.MakeVersion="%{release}"'" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
|