|
|
|
@ -2,7 +2,7 @@
@@ -2,7 +2,7 @@
|
|
|
|
|
%define debug_package %{nil} |
|
|
|
|
|
|
|
|
|
Name: matterircd |
|
|
|
|
Version: 0.19.4 |
|
|
|
|
Version: 0.23.0 |
|
|
|
|
Release: 1%{?dist} |
|
|
|
|
Summary: Connect to your mattermost or slack using your IRC-client of choice. |
|
|
|
|
Group: System/Library |
|
|
|
@ -25,8 +25,8 @@ go get -u -v github.com/42wim/matterircd
@@ -25,8 +25,8 @@ go get -u -v github.com/42wim/matterircd
|
|
|
|
|
%build |
|
|
|
|
export GOPATH=`pwd` |
|
|
|
|
cd src/github.com/42wim/matterircd |
|
|
|
|
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 |
|
|
|
|