Source: liblopsub
Version: 1.0.3-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
liblopsub could not be built reproducibly.
This is because it calls "gzip" manually without the -n flag. This should
have been reported by lintian via the package-contains-timestamped-gzip
tag.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/debian/rules b/debian/rules
index 3ba7a74..3e73eac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -49,8 +49,8 @@ binary: build
$(INST_FILE) debian/copyright $(DEVDOCS_DIR)/copyright
$(INST_FILE) debian/changelog $(DOCS_DIR)/changelog.Debian
$(INST_FILE) debian/changelog $(DEVDOCS_DIR)/changelog.Debian
- gzip -f9 $(DOCS_DIR)/changelog.Debian
- gzip -f9 $(DEVDOCS_DIR)/changelog.Debian
+ gzip -fn9 $(DOCS_DIR)/changelog.Debian
+ gzip -fn9 $(DEVDOCS_DIR)/changelog.Debian
dh_makeshlibs
dh_shlibdeps
dh_strip