Browse Source

matterircd version update 0.24.1

Signed-off-by: tuibuilder_pel7x64builder0 <tuibuilder@powerel.org>
master
tuibuilder_pel7x64builder0 3 years ago
parent
commit
d29f7ddb40
  1. 2
      SOURCES/matterircd.service
  2. 8
      SPECS/matterircd.spec

2
SOURCES/matterircd.service

@ -7,7 +7,7 @@ After=network.target
Type=simple Type=simple
User=root User=root
Group=root Group=root
ExecStart=/usr/bin/matterircd -conf /etc/matterircd/matterircd.toml ExecStart=/usr/bin/matterircd --conf /etc/matterircd/matterircd.toml
Restart=always Restart=always


[Install] [Install]

8
SPECS/matterircd.spec

@ -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}"'"



Loading…
Cancel
Save