From fe4c90461b9f607da26acc63f090cc6c858d60eab34b2af4d764346ebe48c731 Mon Sep 17 00:00:00 2001 From: Ronan Chagas Date: Sun, 3 Dec 2017 22:53:10 +0000 Subject: [PATCH] Accepting request 547886 from home:bmwiedemann:branches:editors Make build result independent from build hostname and username OBS-URL: https://build.opensuse.org/request/show/547886 OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=21 --- neovim.changes | 5 +++++ neovim.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/neovim.changes b/neovim.changes index 03cf13e..ae9aaa3 100644 --- a/neovim.changes +++ b/neovim.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Dec 3 21:23:18 UTC 2017 - bwiedemann@suse.com + +- Make build result independent from build hostname and username + ------------------------------------------------------------------- Mon Nov 20 16:54:24 UTC 2017 - aavindraa@gmail.com diff --git a/neovim.spec b/neovim.spec index 8937304..8c80604 100644 --- a/neovim.spec +++ b/neovim.spec @@ -70,6 +70,9 @@ sed -i "s/__TIME__/\"$BUILD_TIME\"/" $(grep -rl '__TIME__') sed -i "s/__DATE__/\"$BUILD_DATE\"/" $(grep -rl '__DATE__') %build +# set vars to make build reproducible in spite of config/CMakeLists.txt +HOSTNAME=OBS +USERNAME=OBS %cmake \ -DLUA_PRG=%{_bindir}/lua \ -DUSE_BUNDLED=OFF \