Hello community,

here is the log from the commit of package etcd-for-k8s-image for 
openSUSE:Factory checked in at 2020-01-13 22:15:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/etcd-for-k8s-image (Old)
 and      /work/SRC/openSUSE:Factory/.etcd-for-k8s-image.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "etcd-for-k8s-image"

Mon Jan 13 22:15:01 2020 rev:4 rq:757584 version:3.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/etcd-for-k8s-image/etcd-for-k8s-image.changes    
2019-10-23 15:47:59.330509018 +0200
+++ 
/work/SRC/openSUSE:Factory/.etcd-for-k8s-image.new.6675/etcd-for-k8s-image.changes
  2020-01-13 22:15:09.470341047 +0100
@@ -1,0 +2,36 @@
+Tue Dec 17 15:42:22 UTC 2019 - Richard Brown <[email protected]>
+
+- Remove incorrectly added go_provides and go_nostrip macros 
+
+-------------------------------------------------------------------
+Tue Dec 17 13:01:51 UTC 2019 - [email protected]
+
+- Update to version 3.4.3:
+  * version: 3.4.3
+  * *: use Go 1.12.12
+  * rafthttp: add 3.4 stream type
+  * etcdserver: strip patch version in metrics
+  * etcdserver: strip patch version in cluster version
+  * etcdserver: unset old cluster version in metrics
+  * Add version, tag and branch checks to release script
+  * scripts: fix read failure prompt in release; use https for git clone.
+  * version: 3.4.2
+  * etcdserver: trace compaction request; add return parameter 'trace' to 
applierV3.Compaction() mvcc: trace compaction request; add input parameter 
'trace' to KV.Compact()
+  * etcdserver: trace raft requests.
+  * etcdserver: add put request steps. mvcc: add put request steps; add trace 
to KV.Write() as input parameter.
+  * pkg: use zap logger to format the structure log output.
+  * pkg: add field to record additional detail of trace; add stepThreshold to 
reduce log volume.
+  * pkg: create package traceutil for tracing. mvcc: add tracing steps:range 
from the in-memory index tree; range from boltdb. etcdserver: add tracing 
steps: agreement among raft nodes before linerized reading; authentication; 
filter and sort kv pairs; assemble the response.
+  * clientv3: Replace endpoint.ParseHostPort with net.SplitHostPort to fix 
IPv6 client endpoints
+  * clientv3: Set authority used in cert checks to host of endpoint
+  * tests/e2e: fix metrics tests
+  * etcdctl: fix member add command
+  * scripts/build-binary: fix darwin tar commands
+  * scripts/release: fix SHA256SUMS command
+  * version: 3.4.1
+  * scripts/release: fix docker push command
+  * integration: fix bug in for loop, make it break properly
+  * embed: expose ZapLoggerBuilder
+  * vendor: upgrade to gRPC v1.23.1
+
+-------------------------------------------------------------------

Old:
----
  etcd-3.3.15.tar.xz

New:
----
  etcd-3.4.3.tar.gz
  vendor.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ etcd-for-k8s-image.spec ++++++
--- /var/tmp/diff_new_pack.w1ydFZ/_old  2020-01-13 22:15:13.418342878 +0100
+++ /var/tmp/diff_new_pack.w1ydFZ/_new  2020-01-13 22:15:13.430342884 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package etcd-for-k8s-image
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,17 @@
 #
 
 
+%define project go.etcd.io/etcd
 Name:           etcd-for-k8s-image
-Version:        3.3.15
+Version:        3.4.3
 Release:        0
 Summary:        Etcd and etcdtl for k8s image
 License:        Apache-2.0
 Group:          System/Management
-Url:            https://github.com/coreos/etcd
-Source:         etcd-%{version}.tar.xz
-BuildRequires:  go1.12 >= 1.12.9
+URL:            https://github.com/etcd-io/etcd
+Source0:        etcd-%{version}.tar.gz
+Source1:        vendor.tar.gz
+BuildRequires:  go1.12 >= 1.12.12
 BuildRequires:  golang-packaging
 BuildRequires:  golang(API) = 1.12
 ExcludeArch:    %ix86
@@ -41,11 +43,18 @@
 %setup -q -n etcd-%{version} 
 
 %build
-%{goprep} github.com/coreos/etcd
-%{gobuild} .
-%{gobuild} etcdctl
-mkdir bin
-mv ../go/bin/etcd* bin
+# Can't use goprep and gobuild macros due to the packagename and projectname 
confusing things
+export GOPATH=$HOME/go
+export PATH=$PATH:$GOPATH/bin
+rm -rf $HOME/go/src
+mkdir -pv $HOME/go/src/%{project}
+find . -mindepth 1 -maxdepth 1 -exec cp -r {} $HOME/go/src/%{project} \;
+
+cd $HOME/go/src/%{project}
+go build -v -buildmode=pie -o bin/etcd %{project}
+go build -v -buildmode=pie -o bin/etcdctl %{project}/etcdctl
+mkdir -p $HOME/rpmbuild/BUILD/etcd-%{version}/bin
+mv bin/etcd* $HOME/rpmbuild/BUILD/etcd-%{version}/bin
 
 %install
 mkdir -p %{buildroot}%{_bindir}


Reply via email to