From b69a266ef20f4848a2c2de2e9556d13e9648d9405514fd171d67beb4c8cb7aaa Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Fri, 24 Nov 2017 10:30:30 +0000 Subject: [PATCH] Accepting request 536034 from home:bmwiedemann:branches:server:dns Make builds reproducible by using a constant __DATE__ (boo#1047218) now using -u for being independent of timezone (mostly matters for builds outside of OBS with rpmbuild) OBS-URL: https://build.opensuse.org/request/show/536034 OBS-URL: https://build.opensuse.org/package/show/server:dns/dnscrypt-proxy?expand=0&rev=18 --- dnscrypt-proxy.changes | 5 +++++ dnscrypt-proxy.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dnscrypt-proxy.changes b/dnscrypt-proxy.changes index e4192aa..77853b9 100644 --- a/dnscrypt-proxy.changes +++ b/dnscrypt-proxy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 23 08:42:59 UTC 2017 - bwiedemann@suse.com + +- Make builds reproducible by using a constant __DATE__ (boo#1047218) + ------------------------------------------------------------------- Wed Sep 6 08:51:47 UTC 2017 - jengelh@inai.de diff --git a/dnscrypt-proxy.spec b/dnscrypt-proxy.spec index 0c36bca..26edc7e 100644 --- a/dnscrypt-proxy.spec +++ b/dnscrypt-proxy.spec @@ -64,7 +64,7 @@ Header files for development of DNSCrypt plugins. %setup -q %patch0 -p1 # Strip __DATE__ -sed -i "s/__DATE__/\"%(date +%%F)\"/" src/proxy/options.c +sed -i "s/__DATE__/\"%(date -u -r ChangeLog +%%F)\"/" src/proxy/options.c # Don't install COPYING with make, we use our %%license marcro if possible sed -i "/\tCOPYING / d" Makefile.am sed -i "s/COPYING //" Makefile.in