|
|
64400db |
# Generated by go2rpm
|
|
|
25cf477 |
# https://github.com/hashicorp/serf/issues/568
|
|
|
25cf477 |
%ifnarch %{ix86} %{arm}
|
|
|
64400db |
%bcond_without check
|
|
|
25cf477 |
%endif
|
|
|
64400db |
|
|
|
64400db |
# https://github.com/hashicorp/serf
|
|
|
64400db |
%global goipath github.com/hashicorp/serf
|
|
|
b668193 |
Version: 0.9.5
|
|
|
def4895 |
|
|
|
dabaf07 |
%gometa
|
|
|
dd0aed0 |
|
|
|
64400db |
%global common_description %{expand:
|
|
|
64400db |
Serf is a decentralized solution for service discovery and orchestration that is
|
|
|
64400db |
lightweight, highly available, and fault tolerant.
|
|
|
64400db |
|
|
|
64400db |
Serf runs on Linux, Mac OS X, and Windows. An efficient and lightweight gossip
|
|
|
64400db |
protocol is used to communicate with other nodes. Serf can detect node failures
|
|
|
64400db |
and notify the rest of the cluster. An event system is built on top of Serf,
|
|
|
64400db |
letting you use Serf's gossip protocol to propagate events such as deploys,
|
|
|
64400db |
configuration changes, etc. Serf is completely masterless with no single point
|
|
|
64400db |
of failure.
|
|
|
64400db |
|
|
|
64400db |
Here are some example use cases of Serf, though there are many others:
|
|
|
64400db |
|
|
|
64400db |
- Discovering web servers and automatically adding them to a load balancer
|
|
|
64400db |
- Organizing many memcached or redis nodes into a cluster, perhaps with
|
|
|
64400db |
something like twemproxy or maybe just configuring an application with the
|
|
|
64400db |
address of all the nodes
|
|
|
64400db |
- Triggering web deploys using the event system built on top of Serf
|
|
|
64400db |
- Propagating changes to configuration to relevant nodes.
|
|
|
64400db |
- Updating DNS records to reflect cluster changes as they occur.
|
|
|
64400db |
- Much, much more.
|
|
|
64400db |
}
|
|
|
64400db |
|
|
|
64400db |
%global golicenses LICENSE
|
|
|
64400db |
%global godocs CHANGELOG.md README.md
|
|
|
64400db |
|
|
|
dd0aed0 |
Name: %{goname}
|
|
|
b668193 |
Release: 1%{?dist}
|
|
|
64400db |
Summary: Service orchestration and management tool
|
|
|
64400db |
|
|
|
64400db |
# Upstream license specification: MPL-2.0
|
|
|
def4895 |
License: MPLv2.0
|
|
|
dd0aed0 |
URL: %{gourl}
|
|
|
dd0aed0 |
Source0: %{gosource}
|
|
|
da27375 |
# Fix to use newer github.com/hashicorp/go-msgpack/codec
|
|
|
da27375 |
Patch0: 0001-fix-codec.MsgpackHandle.patch
|
|
|
def4895 |
|
|
|
64400db |
BuildRequires: golang(github.com/armon/circbuf)
|
|
|
64400db |
BuildRequires: golang(github.com/armon/go-metrics)
|
|
|
64400db |
BuildRequires: golang(github.com/hashicorp/go-msgpack/codec)
|
|
|
64400db |
BuildRequires: golang(github.com/hashicorp/go-syslog)
|
|
|
64400db |
BuildRequires: golang(github.com/hashicorp/logutils)
|
|
|
64400db |
BuildRequires: golang(github.com/hashicorp/mdns)
|
|
|
64400db |
BuildRequires: golang(github.com/hashicorp/memberlist)
|
|
|
64400db |
BuildRequires: golang(github.com/mitchellh/cli)
|
|
|
64400db |
BuildRequires: golang(github.com/mitchellh/mapstructure)
|
|
|
64400db |
BuildRequires: golang(github.com/ryanuber/columnize)
|
|
|
def4895 |
|
|
|
64400db |
%description
|
|
|
64400db |
%{common_description}
|
|
|
def4895 |
|
|
|
64400db |
%gopkg
|
|
|
def4895 |
|
|
|
def4895 |
%prep
|
|
|
64400db |
%goprep
|
|
|
da27375 |
%patch0 -p1
|
|
|
64400db |
|
|
|
64400db |
%build
|
|
|
64400db |
for cmd in cmd/* ; do
|
|
|
64400db |
%gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
|
|
|
64400db |
done
|
|
|
def4895 |
|
|
|
def4895 |
%install
|
|
|
64400db |
%gopkginstall
|
|
|
64400db |
install -m 0755 -vd %{buildroot}%{_bindir}
|
|
|
64400db |
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
|
|
3751d2d |
|
|
|
64400db |
%if %{with check}
|
|
|
def4895 |
%check
|
|
|
64400db |
# Needs network
|
|
|
64400db |
%gocheck -t cmd -t serf
|
|
|
64400db |
%endif
|
|
|
223915d |
|
|
|
64400db |
%files
|
|
|
64400db |
%license %{golicenses}
|
|
|
64400db |
%doc %{godocs}
|
|
|
64400db |
%{_bindir}/*
|
|
|
3751d2d |
|
|
|
64400db |
%gopkgfiles
|
|
|
def4895 |
|
|
|
def4895 |
%changelog
|
|
|
b668193 |
* Sun Jan 3 10:16:07 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 0.9.5-1
|
|
|
b668193 |
- Update to 0.9.5
|
|
|
b668193 |
- Close: rhbz#1869463
|
|
|
b668193 |
|
|
|
feb3ac4 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-2
|
|
|
feb3ac4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
feb3ac4 |
|
|
|
b668193 |
* Mon Jul 27 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.9.3-1
|
|
|
24c74c4 |
- Update to 0.9.3
|
|
|
24c74c4 |
|
|
|
551d11f |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-3
|
|
|
551d11f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
551d11f |
|
|
|
c3dd955 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-2
|
|
|
c3dd955 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
c3dd955 |
|
|
|
64400db |
* Fri Apr 19 17:14:00 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.8.3-1
|
|
|
64400db |
- Release 0.8.3
|
|
|
64400db |
|
|
|
64400db |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-0.12.20151109gita72c045
|
|
|
7dace7c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
7dace7c |
|
|
|
64400db |
* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 0.6.4-0.11.20151109gita72c045
|
|
|
dabaf07 |
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias
|
|
|
dabaf07 |
- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/
|
|
|
dabaf07 |
|
|
|
64400db |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-0.10.20151109gita72c045
|
|
|
6ea88cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
6ea88cc |
|
|
|
dd0aed0 |
* Wed Feb 28 2018 Jan Chaloupka <jchaloup@redhat.com> - 0.6.4-0.9.20151109gita72c045
|
|
|
dd0aed0 |
- Autogenerate some parts using the new macros
|
|
|
dd0aed0 |
|
|
|
db52af1 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-0.8.gita72c045
|
|
|
db52af1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
db52af1 |
|
|
|
43c7443 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-0.7.gita72c045
|
|
|
43c7443 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
43c7443 |
|
|
|
4598ea7 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-0.6.gita72c045
|
|
|
4598ea7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
4598ea7 |
|
|
|
2dfc842 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-0.5.gita72c045
|
|
|
2dfc842 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
2dfc842 |
|
|
|
37360eb |
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.4-0.4.gita72c045
|
|
|
37360eb |
- https://fedoraproject.org/wiki/Changes/golang1.7
|
|
|
37360eb |
|
|
|
a1fb06c |
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.4-0.3.gita72c045
|
|
|
a1fb06c |
- https://fedoraproject.org/wiki/Changes/golang1.6
|
|
|
a1fb06c |
|
|
|
3a09c23 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-0.2.gita72c045
|
|
|
3a09c23 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
3a09c23 |
|
|
|
27a47bc |
* Wed Jan 13 2016 jchaloup <jchaloup@redhat.com> - 0.6.4-0.1.gita72c045
|
|
|
27a47bc |
- Bump to upstream a72c0453da2ba628a013e98bf323a76be4aa1443
|
|
|
27a47bc |
related: #1250477
|
|
|
27a47bc |
|
|
|
3751d2d |
* Sat Sep 12 2015 jchaloup <jchaloup@redhat.com> - 0-0.4.git4bd6183
|
|
|
3751d2d |
- Update to spec-2.1
|
|
|
3751d2d |
related: #1250477
|
|
|
3751d2d |
|
|
|
223915d |
* Mon Aug 24 2015 jchaloup <jchaloup@redhat.com> - 0-0.3.git4bd6183
|
|
|
223915d |
- Update spec file to spec-2.0
|
|
|
223915d |
resolves: #1250477
|
|
|
223915d |
|
|
|
63cb844 |
* Thu Jul 16 2015 jchaloup <jchaloup@redhat.com> - 0-0.2.git4bd6183
|
|
|
63cb844 |
- Disable command test
|
|
|
63cb844 |
related: #1212318
|
|
|
63cb844 |
|
|
|
def4895 |
* Wed Apr 15 2015 jchaloup <jchaloup@redhat.com> - 0-0.1.git4bd6183
|
|
|
def4895 |
- First package for Fedora
|
|
|
def4895 |
resolves: #1212318
|