From 12ae81d12f19014f7b43e4f79158b24cb0af3ff7 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Feb 16 2016 16:32:44 +0000 Subject: import etcd-2.2.2-5.el7 --- diff --git a/.etcd.metadata b/.etcd.metadata index 76d859c..b723170 100644 --- a/.etcd.metadata +++ b/.etcd.metadata @@ -1 +1 @@ -0c61e48db705cc7bc3e06f090f050c9467300bf2 SOURCES/v2.1.1.tar.gz +d2292db014dd5705a9a013004a8eef260973fc41 SOURCES/v2.2.2.tar.gz diff --git a/.gitignore b/.gitignore index 382d39c..2ff9bca 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/v2.1.1.tar.gz +SOURCES/v2.2.2.tar.gz diff --git a/SOURCES/don-t-set-GIT_SHA-in-build-script.patch b/SOURCES/don-t-set-GIT_SHA-in-build-script.patch deleted file mode 100644 index 7983e30..0000000 --- a/SOURCES/don-t-set-GIT_SHA-in-build-script.patch +++ /dev/null @@ -1,25 +0,0 @@ -From e87254b4a67d5ab4e23827cb876bc523d6799874 Mon Sep 17 00:00:00 2001 -From: Jan Chaloupka -Date: Mon, 29 Jun 2015 10:16:22 +0200 -Subject: [PATCH] don't set GIT_SHA in build script - ---- - build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/build b/build -index e18ab25..7e83deb 100755 ---- a/build -+++ b/build -@@ -11,7 +11,7 @@ ln -s ${PWD} $GOPATH/src/${REPO_PATH} - - eval $(go env) - --GIT_SHA=`git rev-parse --short HEAD || echo "GitNotFound"` -+#GIT_SHA=`git rev-parse --short HEAD || echo "GitNotFound"` - - # Static compilation is useful when etcd is run in a container - CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags "-s -X ${REPO_PATH}/version.GitSHA ${GIT_SHA}" -o bin/etcd ${REPO_PATH} --- -1.9.3 - diff --git a/SOURCES/etcd.conf b/SOURCES/etcd.conf index 003a5fe..324a4ee 100644 --- a/SOURCES/etcd.conf +++ b/SOURCES/etcd.conf @@ -1,7 +1,8 @@ # [member] ETCD_NAME=default ETCD_DATA_DIR="/var/lib/etcd/default.etcd" -#ETCD_SNAPSHOT_COUNTER="10000" +#ETCD_WAL_DIR="" +#ETCD_SNAPSHOT_COUNT="10000" #ETCD_HEARTBEAT_INTERVAL="100" #ETCD_ELECTION_TIMEOUT="1000" #ETCD_LISTEN_PEER_URLS="http://localhost:2380" @@ -21,9 +22,15 @@ ETCD_ADVERTISE_CLIENT_URLS="http://localhost:2379" #ETCD_DISCOVERY_SRV="" #ETCD_DISCOVERY_FALLBACK="proxy" #ETCD_DISCOVERY_PROXY="" +#ETCD_STRICT_RECONFIG_CHECK="false" # #[proxy] #ETCD_PROXY="off" +#ETCD_PROXY_FAILURE_WAIT="5000" +#ETCD_PROXY_REFRESH_INTERVAL="30000" +#ETCD_PROXY_DIAL_TIMEOUT="1000" +#ETCD_PROXY_WRITE_TIMEOUT="5000" +#ETCD_PROXY_READ_TIMEOUT="0" # #[security] #ETCD_CERT_FILE="" diff --git a/SOURCES/etcd.service b/SOURCES/etcd.service index 263bc2d..afe51ea 100644 --- a/SOURCES/etcd.service +++ b/SOURCES/etcd.service @@ -1,14 +1,16 @@ [Unit] Description=Etcd Server After=network.target +After=network-online.target +Wants=network-online.target [Service] -Type=simple +Type=notify WorkingDirectory=/var/lib/etcd/ EnvironmentFile=-/etc/etcd/etcd.conf User=etcd # set GOMAXPROCS to number of processors -ExecStart=/bin/bash -c "GOMAXPROCS=$(nproc) /usr/bin/etcd" +ExecStart=/bin/bash -c "GOMAXPROCS=$(nproc) /usr/bin/etcd --name=\"${ETCD_NAME}\" --data-dir=\"${ETCD_DATA_DIR}\" --listen-client-urls=\"${ETCD_LISTEN_CLIENT_URLS}\"" Restart=on-failure LimitNOFILE=65536 diff --git a/SOURCES/etcdmain-Add-max-snapshots-and-max-wals-to-help.patch b/SOURCES/etcdmain-Add-max-snapshots-and-max-wals-to-help.patch new file mode 100644 index 0000000..d607f64 --- /dev/null +++ b/SOURCES/etcdmain-Add-max-snapshots-and-max-wals-to-help.patch @@ -0,0 +1,41 @@ +From ddc4f8bd4501826e4c551952a96fcca6dd25bf64 Mon Sep 17 00:00:00 2001 +From: Yiqiao Pu +Date: Wed, 18 Nov 2015 17:54:46 +0800 +Subject: [PATCH] etcdmain: Add max-snapshots and max-wals to help + +Based on the configuration doc, seems these two flags are missing +in the help. So add them and the descriptions are from config.go in +the same directory. + +Signed-off-by: Yiqiao Pu +--- + etcdmain/help.go | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/etcdmain/help.go b/etcdmain/help.go +index e233320..fd23d59 100644 +--- a/etcdmain/help.go ++++ b/etcdmain/help.go +@@ -14,6 +14,8 @@ + + package etcdmain + ++import "strconv" ++ + var ( + usageline = `usage: etcd [flags] + start an etcd server +@@ -43,6 +45,10 @@ member flags: + list of URLs to listen on for peer traffic. + --listen-client-urls 'http://localhost:2379,http://localhost:4001' + list of URLs to listen on for client traffic. ++ --max-snapshots '` + strconv.Itoa(defaultMaxSnapshots) + `' ++ maximum number of snapshot files to retain (0 is unlimited). ++ --max-wals '` + strconv.Itoa(defaultMaxWALs) + `' ++ maximum number of wal files to retain (0 is unlimited). + -cors '' + comma-separated whitelist of origins for CORS (cross-origin resource sharing). + +-- +1.9.3 + diff --git a/SPECS/etcd.spec b/SPECS/etcd.spec index 1660df7..c3ca1c8 100644 --- a/SPECS/etcd.spec +++ b/SPECS/etcd.spec @@ -1,6 +1,6 @@ %global with_devel 0 %global with_bundled 1 -%global with_debug 0 +%global with_debug 1 %global with_check 0 %if 0%{?with_debug} @@ -19,8 +19,8 @@ %global import_path %{provider}.%{provider_tld}/%{project}/%{repo} Name: %{repo} -Version: 2.1.1 -Release: 2%{?dist} +Version: 2.2.2 +Release: 5%{?dist} Summary: A highly-available key value store for shared configuration License: ASL 2.0 URL: https://%{import_path} @@ -28,27 +28,33 @@ Source0: https://%{import_path}/archive/v%{version}.tar.gz Source1: %{name}.service Source2: %{name}.conf -Patch0: don-t-set-GIT_SHA-in-build-script.patch -Patch1: set-etcd-advertise-client-urls-if-needed.patch +Patch0: etcdmain-Add-max-snapshots-and-max-wals-to-help.patch +Patch1: set-etcd-advertise-client-urls-if-needed.patch ExclusiveArch: %{ix86} x86_64 %{arm} BuildRequires: golang >= 1.2.1-3 + %if ! 0%{?with_bundled} BuildRequires: golang(github.com/bgentry/speakeasy) BuildRequires: golang(github.com/boltdb/bolt) BuildRequires: golang(github.com/codegangsta/cli) -BuildRequires: golang(github.com/coreos/go-etcd/etcd) BuildRequires: golang(github.com/coreos/go-semver/semver) +BuildRequires: golang(github.com/coreos/go-systemd/daemon) +BuildRequires: golang(github.com/coreos/go-systemd/util) BuildRequires: golang(github.com/coreos/pkg/capnslog) BuildRequires: golang(github.com/gogo/protobuf/proto) BuildRequires: golang(github.com/google/btree) BuildRequires: golang(github.com/jonboulle/clockwork) BuildRequires: golang(github.com/prometheus/client_golang/prometheus) BuildRequires: golang(github.com/prometheus/procfs) +# used only by tools/v3benchmark/main.go:main +BuildRequires: golang(github.com/rakyll/pb) BuildRequires: golang(github.com/stretchr/testify/assert) +BuildRequires: golang(github.com/ugorji/go/codec) +BuildRequires: golang(github.com/xiang90/probing) BuildRequires: golang(golang.org/x/crypto/bcrypt) -# tools/functional-tester/etcd-tester/cluster.go:main -#BuildRequires: golang(golang.org/x/net/context) +BuildRequires: golang(golang.org/x/net/context) +BuildRequires: golang(golang.org/x/net/netutil) BuildRequires: golang(google.golang.org/grpc) %endif BuildRequires: systemd @@ -62,11 +68,16 @@ A highly-available key value store for shared configuration. %if 0%{?with_devel} %package devel -BuildRequires: golang >= 1.2.1-3 +Summary: etcd golang devel libraries +BuildArch: noarch + +%if 0%{?with_check} BuildRequires: golang(github.com/bgentry/speakeasy) BuildRequires: golang(github.com/boltdb/bolt) -BuildRequires: golang(github.com/coreos/go-etcd/etcd) +BuildRequires: golang(github.com/codegangsta/cli) BuildRequires: golang(github.com/coreos/go-semver/semver) +BuildRequires: golang(github.com/coreos/go-systemd/daemon) +BuildRequires: golang(github.com/coreos/go-systemd/util) BuildRequires: golang(github.com/coreos/pkg/capnslog) BuildRequires: golang(github.com/gogo/protobuf/proto) BuildRequires: golang(github.com/google/btree) @@ -74,13 +85,20 @@ BuildRequires: golang(github.com/jonboulle/clockwork) BuildRequires: golang(github.com/prometheus/client_golang/prometheus) BuildRequires: golang(github.com/prometheus/procfs) BuildRequires: golang(github.com/stretchr/testify/assert) +BuildRequires: golang(github.com/ugorji/go/codec) +BuildRequires: golang(github.com/xiang90/probing) BuildRequires: golang(golang.org/x/crypto/bcrypt) +BuildRequires: golang(golang.org/x/net/context) +BuildRequires: golang(golang.org/x/net/netutil) BuildRequires: golang(google.golang.org/grpc) +%endif Requires: golang(github.com/bgentry/speakeasy) Requires: golang(github.com/boltdb/bolt) -Requires: golang(github.com/coreos/go-etcd/etcd) +Requires: golang(github.com/codegangsta/cli) Requires: golang(github.com/coreos/go-semver/semver) +Requires: golang(github.com/coreos/go-systemd/daemon) +Requires: golang(github.com/coreos/go-systemd/util) Requires: golang(github.com/coreos/pkg/capnslog) Requires: golang(github.com/gogo/protobuf/proto) Requires: golang(github.com/google/btree) @@ -88,31 +106,37 @@ Requires: golang(github.com/jonboulle/clockwork) Requires: golang(github.com/prometheus/client_golang/prometheus) Requires: golang(github.com/prometheus/procfs) Requires: golang(github.com/stretchr/testify/assert) +Requires: golang(github.com/ugorji/go/codec) +Requires: golang(github.com/xiang90/probing) Requires: golang(golang.org/x/crypto/bcrypt) +Requires: golang(golang.org/x/net/context) +Requires: golang(golang.org/x/net/netutil) Requires: golang(google.golang.org/grpc) Provides: golang(%{import_path}/client) = %{version}-%{release} Provides: golang(%{import_path}/discovery) = %{version}-%{release} Provides: golang(%{import_path}/error) = %{version}-%{release} Provides: golang(%{import_path}/etcdctl/command) = %{version}-%{release} +Provides: golang(%{import_path}/etcdctlv3/command) = %{version}-%{release} Provides: golang(%{import_path}/etcdmain) = %{version}-%{release} Provides: golang(%{import_path}/etcdserver) = %{version}-%{release} +Provides: golang(%{import_path}/etcdserver/api/v3rpc) = %{version}-%{release} Provides: golang(%{import_path}/etcdserver/auth) = %{version}-%{release} Provides: golang(%{import_path}/etcdserver/etcdhttp) = %{version}-%{release} Provides: golang(%{import_path}/etcdserver/etcdhttp/httptypes) = %{version}-%{release} Provides: golang(%{import_path}/etcdserver/etcdserverpb) = %{version}-%{release} Provides: golang(%{import_path}/etcdserver/stats) = %{version}-%{release} Provides: golang(%{import_path}/integration) = %{version}-%{release} -Provides: golang(%{import_path}/migrate) = %{version}-%{release} -Provides: golang(%{import_path}/migrate/etcd4pb) = %{version}-%{release} Provides: golang(%{import_path}/pkg/cors) = %{version}-%{release} Provides: golang(%{import_path}/pkg/crc) = %{version}-%{release} Provides: golang(%{import_path}/pkg/fileutil) = %{version}-%{release} Provides: golang(%{import_path}/pkg/flags) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/httputil) = %{version}-%{release} Provides: golang(%{import_path}/pkg/idutil) = %{version}-%{release} Provides: golang(%{import_path}/pkg/ioutil) = %{version}-%{release} Provides: golang(%{import_path}/pkg/netutil) = %{version}-%{release} Provides: golang(%{import_path}/pkg/osutil) = %{version}-%{release} +Provides: golang(%{import_path}/pkg/pathutil) = %{version}-%{release} Provides: golang(%{import_path}/pkg/pbutil) = %{version}-%{release} Provides: golang(%{import_path}/pkg/runtime) = %{version}-%{release} Provides: golang(%{import_path}/pkg/testutil) = %{version}-%{release} @@ -135,14 +159,33 @@ Provides: golang(%{import_path}/tools/functional-tester/etcd-agent/client) = %{v Provides: golang(%{import_path}/version) = %{version}-%{release} Provides: golang(%{import_path}/wal) = %{version}-%{release} Provides: golang(%{import_path}/wal/walpb) = %{version}-%{release} -Summary: etcd golang devel libraries -ExclusiveArch: %{ix86} x86_64 %{arm} %description devel golang development libraries for etcd, a highly-available key value store for shared configuration. %endif +%if 0%{?with_unit_test} && 0%{?with_devel} +%package unit-test +Summary: Unit tests for %{name} package +# If go_compiler is not set to 1, there is no virtual provide. Use golang instead. +BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} + +%if 0%{?with_check} +#Here comes all BuildRequires: PACKAGE the unit tests +#in %%check section need for running +%endif + +# test subpackage tests code from devel subpackage +Requires: %{name}-devel = %{version}-%{release} + +%description unit-test +%{summary} + +This package contains unit tests for project +providing packages with %{import_path} prefix. +%endif + %prep %setup -qn %{name}-%{version} %if ! 0%{?with_bundled} @@ -158,37 +201,31 @@ find . -name "*.go" \ %patch1 -p1 %build -%if ! 0%{?with_bundled} # Make link for etcd itself mkdir -p src/github.com/coreos ln -s ../../../ src/github.com/coreos/etcd +%if ! 0%{?with_bundled} export GOPATH=$(pwd):%{gopath} +%else +export GOPATH=$(pwd):$(pwd)/Godeps/_workspace:%{gopath} +%endif %if 0%{?with_debug} # *** ERROR: No build ID note found in /.../BUILDROOT/etcd-2.0.0-1.rc1.fc22.x86_64/usr/bin/etcd -function gobuild { go build -a -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -X %{import_path}/version.GitSHA %{shortcommit}" -v -x "$@"; } +function gobuild { go build -a -installsuffix cgo -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -X %{import_path}/version.GitSHA %{shortcommit}" -v -x "$@"; } %else -function gobuild { go build -a -ldflags "-X %{import_path}/version.GitSHA %{shortcommit}" "$@"; } +function gobuild { go build -a -installsuffix cgo -ldflags "-X %{import_path}/version.GitSHA %{shortcommit}" "$@"; } %endif +export CGO_ENABLED=0 + gobuild -o bin/etcd %{import_path} gobuild -o bin/etcdctl %{import_path}/etcdctl -gobuild -o bin/etcd-migrate %{import_path}/tools/%{name}-migrate -%else -export GIT_SHA=%{shortcommit} -./build -%endif - %install install -D -p -m 0755 bin/%{name} %{buildroot}%{_bindir}/%{name} install -D -p -m 0755 bin/%{name}ctl %{buildroot}%{_bindir}/%{name}ctl -%if 0%{?fedora} -%if ! 0%{?with_bundled} -install -D -p -m 0755 bin/%{name}-migrate %{buildroot}%{_bindir}/%{name}-migrate -%endif -%endif install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service install -d -m 0755 %{buildroot}%{_sysconfdir}/%{name} install -m 644 -t %{buildroot}%{_sysconfdir}/%{name} %{SOURCE2} @@ -198,59 +235,80 @@ install -m 644 -t %{buildroot}%{_sysconfdir}/%{name} %{SOURCE2} install -d -m 0755 %{buildroot}%{_sharedstatedir}/%{name} %if 0%{?with_devel} -# Install files for devel sub-package -install -d %{buildroot}/%{gopath}/src/%{import_path} -cp -pav main.go %{buildroot}/%{gopath}/src/%{import_path}/ -for dir in client discovery error etcdctl etcdmain etcdserver \ - integration migrate pkg proxy raft rafthttp snap storage \ - store tools version wal -do - cp -rpav ${dir} %{buildroot}/%{gopath}/src/%{import_path}/ +install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ +echo "%%dir %%{gopath}/src/%%{import_path}/." >> devel.file-list +# find all *.go but no *_test.go files and generate devel.file-list +for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do + echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list + install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file) + cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file + echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list +done +%endif + +# testing files for this project +%if 0%{?with_unit_test} && 0%{?with_devel} +install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ +# find all *_test.go files and generate unit-test.file-list +for file in $(find . -iname "*_test.go"); do + echo "%%dir %%{gopath}/src/%%{import_path}/$(dirname $file)" >> devel.file-list + install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file) + cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file + echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list done %endif +%if 0%{?with_devel} +sort -u -o devel.file-list devel.file-list +%endif + %check -%if 0%{?with_check} -%if 0%{?with_bundled} -export GOPATH=$(pwd)/Godeps/_workspace:%{gopath} +%if 0%{?with_check} && 0%{?with_unit_test} && 0%{?with_devel} +%if ! 0%{?with_bundled} +export GOPATH=%{buildroot}/%{gopath}:%{gopath} %else -export GOPATH=%{buildroot}%{gopath}:%{gopath} +export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} +%endif + +%if ! 0%{?gotest:1} +%global gotest go test %endif -#go test %{import_path}/client -go test %{import_path}/discovery -go test %{import_path}/error -go test %{import_path}/etcdctl/command -go test %{import_path}/etcdmain -#go test %{import_path}/etcdserver -go test %{import_path}/etcdserver/auth -#go test %{import_path}/etcdserver/etcdhttp -#go test %{import_path}/etcdserver/etcdhttp/httptypes -#go test %{import_path}/integration -go test %{import_path}/migrate -#go test %{import_path}/pkg/cors -go test %{import_path}/pkg/crc -#go test %{import_path}/pkg/fileutil -go test %{import_path}/pkg/flags -go test %{import_path}/pkg/idutil -go test %{import_path}/pkg/ioutil -go test %{import_path}/pkg/netutil -go test %{import_path}/pkg/osutil -go test %{import_path}/pkg/pbutil -go test %{import_path}/pkg/timeutil -#go test %{import_path}/pkg/transport -go test %{import_path}/pkg/types -go test %{import_path}/pkg/wait -go test %{import_path}/proxy -go test %{import_path}/raft -#go test %{import_path}/raft/rafttest -go test %{import_path}/rafthttp -go test %{import_path}/snap -#go test %{import_path}/storage -#go test %{import_path}/storage/backend -#go test %{import_path}/store -#go test %{import_path}/tools/functional-tester/etcd-agent -go test %{import_path}/version -go test %{import_path}/wal + +#%gotest %{import_path}/client +%gotest %{import_path}/discovery +%gotest %{import_path}/error +%gotest %{import_path}/etcdctl/command +%gotest %{import_path}/etcdmain +#%gotest %{import_path}/etcdserver +%gotest %{import_path}/etcdserver/auth +#%gotest %{import_path}/etcdserver/etcdhttp +#%gotest %{import_path}/etcdserver/etcdhttp/httptypes +#%gotest %{import_path}/integration +#%gotest %{import_path}/pkg/cors +%gotest %{import_path}/pkg/crc +#%gotest %{import_path}/pkg/fileutil +%gotest %{import_path}/pkg/flags +%gotest %{import_path}/pkg/idutil +%gotest %{import_path}/pkg/ioutil +%gotest %{import_path}/pkg/netutil +%gotest %{import_path}/pkg/osutil +%gotest %{import_path}/pkg/pathutil +%gotest %{import_path}/pkg/pbutil +%gotest %{import_path}/pkg/timeutil +#%gotest %{import_path}/pkg/transport +%gotest %{import_path}/pkg/types +%gotest %{import_path}/pkg/wait +%gotest %{import_path}/proxy +%gotest %{import_path}/raft +#%gotest %{import_path}/raft/rafttest +%gotest %{import_path}/rafthttp +%gotest %{import_path}/snap +#%gotest %{import_path}/storage +#%gotest %{import_path}/storage/backend +#%gotest %{import_path}/store +#%gotest %{import_path}/tools/functional-tester/etcd-agent +%gotest %{import_path}/version +%gotest %{import_path}/wal %endif %pre @@ -267,29 +325,68 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d %{_sharedstatedir}/ %postun %systemd_postun %{name}.service +#define license tag if not already defined +%{!?_licensedir:%global license %doc} + %files +%license LICENSE +%doc README.md Documentation/internal-protocol-versioning.md +%doc Godeps/Godeps.json %config(noreplace) %{_sysconfdir}/%{name} %{_bindir}/%{name} %{_bindir}/%{name}ctl -%if 0%{?fedora} -%if ! 0%{?with_bundled} -%{_bindir}/%{name}-migrate -%endif -%endif %dir %attr(-,%{name},%{name}) %{_sharedstatedir}/%{name} %{_unitdir}/%{name}.service -%doc LICENSE README.md Documentation/internal-protocol-versioning.md -%doc Godeps/Godeps.json %if 0%{?with_devel} -%files devel -%doc LICENSE README.md Documentation/internal-protocol-versioning.md -%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} -%{gopath}/src/%{import_path} +%files devel -f devel.file-list +%license LICENSE +%doc README.md Documentation/internal-protocol-versioning.md %doc Godeps/Godeps.json +%dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} +%endif + +%if 0%{?with_unit_test} +%files unit-test -f unit-test.file-list +%license LICENSE +%doc README.md Documentation/internal-protocol-versioning.md %endif %changelog +* Tue Dec 29 2015 jchaloup - 2.2.2-5 +- go < 1.5 needs "-installsuffix cgo" too to accept CGO_ENABLED + +* Tue Dec 29 2015 jchaloup - 2.2.2-4 +- set CGO_ENABLED=0 when building etcd, + otherwise the binary is dynamically linked to glibc libraries + +* Tue Dec 29 2015 jchaloup - 2.2.2-3 +- bump release (2.2.2-2 already built) + +* Tue Dec 29 2015 jchaloup - 2.2.2-2 +- add missing options to etcd help + resolves: #1283119 +- change type to notify in etcd.service + resolves: #1269939 +- add more information when running etcd as a service + resolves: #1263077 + +* Tue Dec 29 2015 jchaloup - 2.2.2-1 +- Update to v2.2.2 + resolves: #1294702 +- update etcd.conf (add new options) +- build with debug info +- polish spec file + +* Mon Nov 16 2015 jchaloup - 2.1.1-4 +- Update etcd.conf: add new flag and fix -snapshot-count + resolves: #1282393 + +* Fri Oct 30 2015 jchaloup - 2.1.1-3 +- Add After=network-online.target and Wants=network-online.target + to etcd.service + resolves: #1276732 + * Thu Jul 30 2015 jchaloup - 2.1.1-2 - Update to v2.1.1 in RHEL resolves: #1250707