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