Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package traefik1.7 for openSUSE:Factory 
checked in at 2021-06-01 10:38:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/traefik1.7 (Old)
 and      /work/SRC/openSUSE:Factory/.traefik1.7.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "traefik1.7"

Tue Jun  1 10:38:18 2021 rev:2 rq:895981 version:1.7.30

Changes:
--------
--- /work/SRC/openSUSE:Factory/traefik1.7/traefik1.7.changes    2021-05-17 
18:45:34.880555730 +0200
+++ /work/SRC/openSUSE:Factory/.traefik1.7.new.1898/traefik1.7.changes  
2021-06-01 10:39:33.969028013 +0200
@@ -1,0 +2,6 @@
+Tue May 25 13:50:00 UTC 2021 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- Allow to override build date with SOURCE_DATE_EPOCH
+  in order to make builds reproducible (boo#1047218)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ traefik1.7.spec ++++++
--- /var/tmp/diff_new_pack.gmSBVu/_old  2021-06-01 10:39:34.413028770 +0200
+++ /var/tmp/diff_new_pack.gmSBVu/_new  2021-06-01 10:39:34.417028776 +0200
@@ -16,7 +16,6 @@
 #
 
 %define project github.com/traefik/traefik
-%define build_date %(date +"%Y%m%d")
 
 Name:           traefik1.7
 Version:        1.7.30
@@ -51,6 +50,7 @@
 %setup -q -n traefik-%{version}
 
 %build
+build_date=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +"%%Y%%m%%d")
 %{goprep} %{project}
 
 # tarball causes "inconsistent vendoring"
@@ -63,7 +63,7 @@
 go build \
   -buildmode=pie \
   -mod=vendor \
-  -ldflags "-s -w -X 
github.com/traefik/traefik/v2/pkg/version.Version=%{version} -X 
github.com/traefik/traefik/v2/pkg/version.Codename='' -X 
github.com/traefik/traefik/v2/pkg/version.BuildDate=%{build_date}" \
+  -ldflags "-s -w -X 
github.com/traefik/traefik/v2/pkg/version.Version=%{version} -X 
github.com/traefik/traefik/v2/pkg/version.Codename='' -X 
github.com/traefik/traefik/v2/pkg/version.BuildDate=${build_date}" \
   -o %{name} ./cmd/traefik/
 
 %install

Reply via email to