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