Hello community,

here is the log from the commit of package etcd for openSUSE:Factory checked in 
at 2020-02-14 16:27:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/etcd (Old)
 and      /work/SRC/openSUSE:Factory/.etcd.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "etcd"

Fri Feb 14 16:27:31 2020 rev:20 rq:770502 version:3.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/etcd/etcd.changes        2019-10-23 
15:47:56.170505602 +0200
+++ /work/SRC/openSUSE:Factory/.etcd.new.26092/etcd.changes     2020-02-14 
16:27:34.747262448 +0100
@@ -1,0 +2,31 @@
+Thu Feb  6 09:03:22 UTC 2020 - Michal Jura <mj...@suse.com>
+
+- 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.spec ++++++
--- /var/tmp/diff_new_pack.7cZrOB/_old  2020-02-14 16:27:35.443262826 +0100
+++ /var/tmp/diff_new_pack.7cZrOB/_new  2020-02-14 16:27:35.447262828 +0100
@@ -20,18 +20,20 @@
 %if ! %{defined _fillupdir}
   %define _fillupdir /var/adm/fillup-templates
 %endif
+%define project go.etcd.io/etcd
 
 Name:           etcd
-Version:        3.3.15
+Version:        3.4.3
 Release:        0
 Summary:        Highly-available key value store for configuration and service 
discovery
 License:        Apache-2.0
 Group:          System/Management
 Url:            https://github.com/coreos/etcd
-Source:         %{name}-%{version}.tar.xz
-Source1:        %{name}.conf
-Source2:        %{name}.service
-Source5:        README.security
+Source:         %{name}-%{version}.tar.gz
+Source1:        vendor.tar.gz
+Source11:       %{name}.conf
+Source12:       %{name}.service
+Source15:       README.security
 BuildRequires:  golang-packaging
 BuildRequires:  shadow
 BuildRequires:  systemd-rpm-macros
@@ -65,25 +67,38 @@
 to explore an etcd cluster.
 
 %prep
-%setup -q
-cp %{SOURCE5} .
+%setup -q -a1
+cp %{SOURCE15} .
 
 %build
-%{goprep} github.com/coreos/etcd
-%{gobuild} .
-%{gobuild} etcdctl
+%{goprep} go.etcd.io/etcd
+export GOPATH=$HOME/go
+mkdir -pv $HOME/go/src/%{project}
+rm -rf $HOME/go/src/%{project}/*
+cp -avr * $HOME/go/src/%{project}
+
+cd $HOME/go/src/%{project}
+go build -v -buildmode=pie -o etcd
+
+cd $HOME/go/src/%{project}/etcdctl
+go build -v -buildmode=pie -o etcdctl
 
 %install
-%{goinstall}
-rm -rf %{buildroot}/%{_libdir}/go/contrib
+cd $HOME/go/src/%{project}
+
+install -d %{buildroot}/%{_sbindir}
+install -D -m 0755 etcd %{buildroot}/%{_sbindir}/etcd
+
+install -d %{buildroot}/%{_bindir}
+install -D -m 0755 etcdctl/etcdctl %{buildroot}/%{_bindir}/etcdctl
 
 # Service
-install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}.service
+install -D -p -m 0644 %{SOURCE12} %{buildroot}%{_unitdir}/%{name}.service
 install -d %{buildroot}/%{_sbindir}
 ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 
 # Sysconfig
-install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.%{name}
+install -D -p -m 0644 %{SOURCE11} %{buildroot}%{_fillupdir}/sysconfig.%{name}
 %ifarch aarch64
 # arm64 is not yet officially supported
 echo -e "\n#Enable arm64\nETCD_UNSUPPORTED_ARCH=arm64\n" >> 
%{buildroot}%{_fillupdir}/sysconfig.%{name}
@@ -92,9 +107,6 @@
 # Additional
 install -d -m 750 %{buildroot}%{_localstatedir}/lib/%{name}
 
-# Move
-mv %{buildroot}%{_bindir}/etcd %{buildroot}%{_sbindir}/%{name}
-
 %pre
 getent group %{name} >/dev/null || %{_sbindir}/groupadd -r %{name}
 getent passwd %{name} >/dev/null || %{_sbindir}/useradd -r -g %{name} -d 
%{_localstatedir}/lib/%{name} -s /bin/false -c "etcd daemon" %{name}

++++++ _service ++++++
--- /var/tmp/diff_new_pack.7cZrOB/_old  2020-02-14 16:27:35.483262848 +0100
+++ /var/tmp/diff_new_pack.7cZrOB/_new  2020-02-14 16:27:35.483262848 +0100
@@ -1,16 +1,19 @@
 <services>
   <service name="tar_scm" mode="disabled">
+    <param name="url">git://github.com/etcd-io/etcd.git</param>
     <param name="scm">git</param>
-    <param name="url">https://github.com/coreos/etcd.git</param>
     <param name="exclude">.git</param>
-    <param name="filename">etcd</param>
-    <param name="versionformat">3.3.15</param>
-    <param name="revision">v3.3.15</param>
+    <param name="revision">v3.4.3</param>
+    <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
+    <param name="versionrewrite-pattern">v(.*)</param>
+  </service>
+  <service mode="disabled" name="set_version">
   </service>
   <service name="recompress" mode="disabled">
     <param name="file">*.tar</param>
-    <param name="compression">xz</param>
+    <param name="compression">gz</param>
+  </service>
+  <service name="go_modules" mode="disabled">
   </service>
-  <service mode="disabled" name="set_version"/>
 </services>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.7cZrOB/_old  2020-02-14 16:27:35.503262859 +0100
+++ /var/tmp/diff_new_pack.7cZrOB/_new  2020-02-14 16:27:35.503262859 +0100
@@ -1,4 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/coreos/etcd.git</param>
-              <param 
name="changesrevision">94745a4eed0425653b3b4275a208d38babceeaec</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">94745a4eed0425653b3b4275a208d38babceeaec</param></service><service
 name="tar_scm">
+                <param name="url">git://github.com/etcd-io/etcd.git</param>
+              <param 
name="changesrevision">3cf2f69b5738fb702ba1a935590f36b52b18979b</param></service></servicedata>
\ No newline at end of file


Reply via email to