Browse Source

upgrading package: etcd 2.0.11 -> 2.0.12

master
parent
commit
260e90c98a
  1. 10
      etcd/etcd.patch
  2. 6
      etcd/etcd.spec

10
etcd/etcd.patch

@ -1,11 +1,11 @@
Index: build
--- build.orig 2015-05-15 22:54:32.000000000 +0200
+++ build 2015-05-23 09:40:00.295115063 +0200
--- build.orig 2015-06-21 09:33:26.945122000 +0200
+++ build 2015-06-21 09:33:57.645138745 +0200
@@ -11,8 +11,8 @@
eval $(go env)
-GIT_SHA=`git rev-parse --short HEAD`
-GIT_SHA=`git rev-parse --short HEAD || echo "GitNotFound"`
+GIT_SHA="000000"
# Static compilation is useful when etcd is run in a container
@ -14,8 +14,8 @@ Index: build
+CGO_ENABLED=0 go build -x -a -installsuffix cgo -ldflags "-s -X ${REPO_PATH}/version.GitSHA ${GIT_SHA}" -o bin/etcd ${REPO_PATH}
+CGO_ENABLED=0 go build -x -a -installsuffix cgo -ldflags "-s" -o bin/etcdctl ${REPO_PATH}/etcdctl
Index: etcdctl/main.go
--- etcdctl/main.go.orig 2015-05-15 22:54:32.000000000 +0200
+++ etcdctl/main.go 2015-05-23 09:38:36.685461322 +0200
--- etcdctl/main.go.orig 2015-06-16 23:19:37.000000000 +0200
+++ etcdctl/main.go 2015-06-21 09:33:26.945122542 +0200
@@ -32,7 +32,7 @@
cli.BoolFlag{Name: "debug", Usage: "output cURL commands which can be used to reproduce the request"},
cli.BoolFlag{Name: "no-sync", Usage: "don't synchronize cluster information before sending request"},

6
etcd/etcd.spec

@ -22,8 +22,8 @@
##
# package version
%define V_opkg 2.0.11
%define V_dist 2.0.11
%define V_opkg 2.0.12
%define V_dist 2.0.12
# package information
Name: etcd
@ -36,7 +36,7 @@ Class: EVAL
Group: Network
License: Apache
Version: %{V_opkg}
Release: 20150523
Release: 20150621
# list of sources
Source0: https://github.com/coreos/etcd/archive/v%{V_dist}.tar.gz

Loading…
Cancel
Save