Omit build date from gzip headers

See https://reproducible-builds.org/ for why this is good.

This patch was done while working on reproducible builds for openSUSE.
This commit is contained in:
Bernhard M. Wiedemann 2024-02-29 16:48:19 +01:00
parent 076237b8ea
commit 76e5d9ec88

View file

@ -101,7 +101,7 @@ compress_libs() {
pids="" pids=""
rm -rf ${BUILD_DIR}/lib/*.${LIB_EXT}*.gz rm -rf ${BUILD_DIR}/lib/*.${LIB_EXT}*.gz
for lib in ${BUILD_DIR}/lib/*.${LIB_EXT}* ; do for lib in ${BUILD_DIR}/lib/*.${LIB_EXT}* ; do
gzip --best -f ${lib} & gzip -n --best -f ${lib} &
pids+=" $!" pids+=" $!"
done done
echo echo