Hello community,

here is the log from the commit of package wsmancli for openSUSE:Factory 
checked in at 2018-08-10 09:52:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wsmancli (Old)
 and      /work/SRC/openSUSE:Factory/.wsmancli.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wsmancli"

Fri Aug 10 09:52:04 2018 rev:29 rq:628380 version:2.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/wsmancli/wsmancli.changes        2015-06-16 
14:05:17.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.wsmancli.new/wsmancli.changes   2018-08-10 
09:52:11.738503994 +0200
@@ -1,0 +2,5 @@
+Fri Aug  3 11:30:27 UTC 2018 - bwiedem...@suse.com
+
+- Add reproducible.patch to have fixed build date (boo#1047218)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ wsmancli.spec ++++++
--- /var/tmp/diff_new_pack.ElAGyn/_old  2018-08-10 09:52:13.478506806 +0200
+++ /var/tmp/diff_new_pack.ElAGyn/_new  2018-08-10 09:52:13.482506812 +0200
@@ -34,6 +34,7 @@
 License:        BSD-3-Clause
 Group:          System/Management
 Source:         %{name}-%{version}.tar.bz2
+Patch0:         reproducible.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -45,6 +46,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch0 -p1
 
 %build
 %configure --disable-more-warnings

++++++ reproducible.patch ++++++
upstreaming at https://github.com/Openwsman/wsmancli/pull/8

commit c277ec5217d3aa3748b9420bbdc7f5d4973a010b
Author: Bernhard M. Wiedemann <bwiedemann suse.de>
Date:   Wed Mar 21 15:17:26 2018 +0100

    Use ChangeLog date instead of build date
    
    in order to make builds reproducible
    See https://reproducible-builds.org/ for why this is good.

Index: wsmancli-2.6.0/configure
===================================================================
--- wsmancli-2.6.0.orig/configure
+++ wsmancli-2.6.0/configure
@@ -16507,7 +16507,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 WSMAN_PKG=$PACKAGE_NAME
 
-PACKAGE_BUILDTS=`date +%Y%m%d%H%M`
+PACKAGE_BUILDTS=`date -u -r ChangeLog +%Y%m%d%H%M`
 
 
 

Reply via email to