Use no-name flag for gzip

Don't save the timestamp in the gzip header to ensure reproducibility.

Signed-off-by: andrin-geiger <me@darkdampsquib.com>
This commit is contained in:
DarkDampSquib 2024-03-25 09:03:22 +01:00 committed by Chris Packham
parent 06fad54c84
commit f81829db00

View File

@ -65,7 +65,7 @@ bash-completion/ct-ng: bash-completion/ct-ng.in Makefile
# Also, lintian is picky about execute-bit on the scripts # Also, lintian is picky about execute-bit on the scripts
install-data-hook: install-data-hook:
rm -f $(DESTDIR)$(man1dir)/$(ctng_progname).1.gz rm -f $(DESTDIR)$(man1dir)/$(ctng_progname).1.gz
gzip -9 $(DESTDIR)$(man1dir)/$(ctng_progname).1 gzip -n -9 $(DESTDIR)$(man1dir)/$(ctng_progname).1
chmod a+x $(DESTDIR)$(pkgdatadir)/scripts/config.guess chmod a+x $(DESTDIR)$(pkgdatadir)/scripts/config.guess
chmod a+x $(DESTDIR)$(pkgdatadir)/scripts/config.sub chmod a+x $(DESTDIR)$(pkgdatadir)/scripts/config.sub
rm -f $(DESTDIR)$(pkgdatadir)/LICENSE rm -f $(DESTDIR)$(pkgdatadir)/LICENSE