forked from pool/wsmancli
Add reproducible.patch to have fixed build date (boo#1047218) OBS-URL: https://build.opensuse.org/request/show/627319 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:wbem/wsmancli?expand=0&rev=43
25 lines
703 B
Diff
25 lines
703 B
Diff
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`
|
|
|
|
|
|
|