diff --git a/gzip.changes b/gzip.changes index 0053f20..9da2c11 100644 --- a/gzip.changes +++ b/gzip.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/gzip.spec b/gzip.spec index c9b9e02..62a9724 100644 --- a/gzip.spec +++ b/gzip.spec @@ -66,7 +66,7 @@ profile_gzip() { tmpfile=$(mktemp) trap "rm -f $tmpfile $tmpfile.gz" EXIT - tar -cfd %{SOURCE0} > $tmpfile || true + xz -cd %{SOURCE0} > $tmpfile time ./gzip < $tmpfile > $tmpfile.gz time ./gzip -d < $tmpfile.gz > /dev/null }