commit getdp for openSUSE:Factory
Hello community, here is the log from the commit of package getdp for openSUSE:Factory checked in at 2017-08-24 18:43:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/getdp (Old) and /work/SRC/openSUSE:Factory/.getdp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "getdp" Thu Aug 24 18:43:55 2017 rev:2 rq:514113 version:2.4.4 Changes: -------- --- /work/SRC/openSUSE:Factory/getdp/getdp.changes 2015-03-09 10:08:59.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.getdp.new/getdp.changes 2017-08-24 18:43:58.708559238 +0200 @@ -1,0 +2,6 @@ +Tue Jul 25 10:53:17 UTC 2017 - bwiedemann@suse.com + +- Add getdp-2.4.4-reproducible-date.patch to not have build date + in getdp binary (boo#1047218) + +------------------------------------------------------------------- New: ---- getdp-2.4.4-reproducible-date.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ getdp.spec ++++++ --- /var/tmp/diff_new_pack.BMfin2/_old 2017-08-24 18:43:59.468452187 +0200 +++ /var/tmp/diff_new_pack.BMfin2/_new 2017-08-24 18:43:59.468452187 +0200 @@ -25,6 +25,8 @@ License: GPL-2.0+ Group: Productivity/Scientific/Math Source0: http://geuz.org/getdp/src/getdp-%{version}-source.tgz +# PATCH-FIX-UPSTREAM http://gitlab.onelab.info/getdp/getdp/commit/c53529ffaa4c42130c2b6799441cf8d... +Patch0: getdp-2.4.4-reproducible-date.patch BuildRequires: arpack-devel BuildRequires: bison BuildRequires: blas-devel @@ -85,6 +87,7 @@ %prep %setup -q -n %{name}-%{version}-source +%patch0 -p1 sed -i "s/\${GETDP_LIB}/\${LIB_DIR}/" CMakeLists.txt %build ++++++ getdp-2.4.4-reproducible-date.patch ++++++ # PATCH-FIX-UPSTREAM use cmake TIMESTAMP instead of the 'date' command. This is not only more portable, but also allows to override the build date to enable reproducible builds. See https://reproducible-builds.org/ for why this is good commit c53529ffaa4c42130c2b6799441cf8d164f85343 Author: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue Jul 25 11:09:19 2017 +0200 fix #40 Index: getdp-2.4.4-source/CMakeLists.txt =================================================================== --- getdp-2.4.4-source.orig/CMakeLists.txt +++ getdp-2.4.4-source/CMakeLists.txt @@ -70,8 +70,12 @@ set(GETDP_API Legacy/GetDP.h ) -execute_process(COMMAND date "+%Y%m%d" OUTPUT_VARIABLE DATE - OUTPUT_STRIP_TRAILING_WHITESPACE) +if(${CMAKE_MAJOR_VERSION} GREATER 2) + string(TIMESTAMP DATE "%Y%m%d") +else(${CMAKE_MAJOR_VERSION} GREATER 2) + execute_process(COMMAND date "+%Y%m%d" OUTPUT_VARIABLE DATE + OUTPUT_STRIP_TRAILING_WHITESPACE) +endif(${CMAKE_MAJOR_VERSION} GREATER 2) execute_process(COMMAND hostname OUTPUT_VARIABLE HOSTNAME OUTPUT_STRIP_TRAILING_WHITESPACE) execute_process(COMMAND whoami OUTPUT_VARIABLE PACKAGER
participants (1)
-
root@hilbert.suse.de