Hello community,

here is the log from the commit of package amazon-ecs-init for openSUSE:Factory 
checked in at 2018-10-04 19:02:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/amazon-ecs-init (Old)
 and      /work/SRC/openSUSE:Factory/.amazon-ecs-init.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "amazon-ecs-init"

Thu Oct  4 19:02:15 2018 rev:3 rq:639878 version:1.18.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/amazon-ecs-init/amazon-ecs-init.changes  
2018-08-02 14:57:08.344176201 +0200
+++ /work/SRC/openSUSE:Factory/.amazon-ecs-init.new/amazon-ecs-init.changes     
2018-10-04 19:02:21.815148564 +0200
@@ -1,0 +2,5 @@
+Thu Aug 30 09:25:08 UTC 2018 - bwiedem...@suse.com
+
+- Add reproducible.patch to use constant build path (boo#1062303)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ amazon-ecs-init.spec ++++++
--- /var/tmp/diff_new_pack.EfrErw/_old  2018-10-04 19:02:22.547147794 +0200
+++ /var/tmp/diff_new_pack.EfrErw/_new  2018-10-04 19:02:22.551147790 +0200
@@ -26,6 +26,7 @@
 Url:            https://github.com/aws/amazon-ecs-init
 Source0:        %{name}-%{version}-1.tar.gz
 Source1:        %{short_name}.service
+Patch0:         reproducible.patch
 BuildRequires:  go
 BuildRequires:  systemd
 %if 0%{?is_opensuse}
@@ -48,6 +49,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}-1
+%patch0 -p1
 
 %build
 ./scripts/gobuild.sh suse

++++++ reproducible.patch ++++++
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2018-08-30

https://bugzilla.opensuse.org/show_bug.cgi?id=1062303

Without this patch, there was always variation
in /usr/sbin/amazon-ecs-init differs in ELF section .gopclntab
  b7ed20 7a5f1e00 285f1e00 2f746d70 2f746d70  z_..(_../tmp/tmp
- b7ed30 2e6a4867 4463556e 6c46702f 7372632f  .jHgDcUnlFp/src/
+ b7ed30 2e385731 596d4c63 556a462f 7372632f  .8W1YmLcUjF/src/
  b7ed40 67697468 75622e63 6f6d2f61 77732f61  github.com/aws/a

See https://reproducible-builds.org/ for why this matters.

Index: amazon-ecs-init-1.18.0-1/scripts/gobuild.sh
===================================================================
--- amazon-ecs-init-1.18.0-1.orig/scripts/gobuild.sh
+++ amazon-ecs-init-1.18.0-1/scripts/gobuild.sh
@@ -15,7 +15,7 @@
 set -x
 set -e
 export TOPWD="$(pwd)"
-export BUILDDIR="$(mktemp -d)"
+export BUILDDIR="$TOPWD/build"
 export GOPATH="${TOPWD}/ecs-init/:${BUILDDIR}"
 export SRCPATH="${BUILDDIR}/src/github.com/aws/amazon-ecs-init"
 

Reply via email to