|
|
@ -2,7 +2,7 @@ |
|
|
|
%define debug_package %{nil} |
|
|
|
%define debug_package %{nil} |
|
|
|
|
|
|
|
|
|
|
|
Name: matterircd |
|
|
|
Name: matterircd |
|
|
|
Version: 0.23.0 |
|
|
|
Version: 0.24.1 |
|
|
|
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 |
|
|
@ -19,12 +19,16 @@ Connect to your mattermost or slack using your IRC-client of choice. |
|
|
|
%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/42wim/matterircd |
|
|
|
#go get -u -v github.com/42wim/matterircd |
|
|
|
|
|
|
|
mkdir -p src/github.com/42wim/ |
|
|
|
|
|
|
|
cd src/github.com/42wim/ |
|
|
|
|
|
|
|
git clone https://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 pull |
|
|
|
git checkout v%{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}"'" |
|
|
|
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}"'" |
|
|
|
|
|
|
|
|
|
|
|