diff --git a/gzip.changes b/gzip.changes index 6a03145..9da2c11 100644 --- a/gzip.changes +++ b/gzip.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed May 31 02:54:52 UTC 2017 - bwiedemann@suse.com + +- Make build reproducible in spite of gcc profile based optimizations + (boo#1040589) + +------------------------------------------------------------------- +Tue May 30 09:59:59 UTC 2017 - src@posteo.de + +- changing the way how gcc profiling is generating to have a reproducible + build + ------------------------------------------------------------------- Tue Apr 11 14:08:21 UTC 2017 - kstreitova@suse.com diff --git a/gzip.spec b/gzip.spec index 5d8a4cd..62a9724 100644 --- a/gzip.spec +++ b/gzip.spec @@ -66,8 +66,8 @@ profile_gzip() { tmpfile=$(mktemp) trap "rm -f $tmpfile $tmpfile.gz" EXIT - tar -cf $tmpfile %{_prefix} || true - time ./gzip $tmpfile + xz -cd %{SOURCE0} > $tmpfile + time ./gzip < $tmpfile > $tmpfile.gz time ./gzip -d < $tmpfile.gz > /dev/null } %if %{do_profiling}