Accepting request 499520 from home:heijligen:branches:Base:System
changing the way how gcc profiling is generating to have a reproducible build https://en.opensuse.org/openSUSE:Reproducible_Builds OBS-URL: https://build.opensuse.org/request/show/499520 OBS-URL: https://build.opensuse.org/package/show/Base:System/gzip?expand=0&rev=50
This commit is contained in:
parent
6e9d0ef9e8
commit
327561019d
@ -66,8 +66,8 @@ profile_gzip()
|
||||
{
|
||||
tmpfile=$(mktemp)
|
||||
trap "rm -f $tmpfile $tmpfile.gz" EXIT
|
||||
tar -cf $tmpfile %{_prefix} || true
|
||||
time ./gzip $tmpfile
|
||||
tar -cfd %{SOURCE0} > $tmpfile || true
|
||||
time ./gzip < $tmpfile > $tmpfile.gz
|
||||
time ./gzip -d < $tmpfile.gz > /dev/null
|
||||
}
|
||||
%if %{do_profiling}
|
||||
|
Loading…
Reference in New Issue
Block a user