add -n option to gzip command to not save timestamp

This commit is contained in:
Miroslav Lichvar 2015-06-23 16:35:45 +02:00
parent edf29d8454
commit c3360e577f

View File

@ -120,7 +120,7 @@ touch $RPM_BUILD_ROOT%{_localstatedir}/lib/chrony/{drift,rtc}
echo 'chronyd.service' > \
$RPM_BUILD_ROOT%{_prefix}/lib/systemd/ntp-units.d/50-chronyd.list
gzip -9 -f -k chrony.txt
gzip -9 -f -k -n chrony.txt
%check
# set random seed to get deterministic results