Source: fake
Version: 1.1.11-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that fake could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, fake can be built reproducibly in our current experimental
framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff -urNad fake.orig/fake-1.1.11/debian/rules fake/fake-1.1.11/debian/rules
--- fake.orig/fake-1.1.11/debian/rules 2015-02-03 14:03:24.100663560 +0000
+++ fake/fake-1.1.11/debian/rules 2015-02-03 14:05:36.626760453 +0000
@@ -37,14 +37,14 @@
install -c -m 644 AUTHORS $(CURDIR)/debian/tmp/usr/share/doc/fake/
install -c -m 644 ChangeLog \
$(CURDIR)/debian/tmp/usr/share/doc/fake/changelog
- gzip --best $(CURDIR)/debian/tmp/usr/share/doc/fake/changelog
+ gzip --best -n $(CURDIR)/debian/tmp/usr/share/doc/fake/changelog
install -c -m 644 docs/redundant_linux.txt \
$(CURDIR)/debian/tmp/usr/share/doc/fake/
- gzip --best \
+ gzip --best -n \
$(CURDIR)/debian/tmp/usr/share/doc/fake/redundant_linux.txt
install -c -m 644 docs/arp_fun.txt \
$(CURDIR)/debian/tmp/usr/share/doc/fake/
- gzip --best $(CURDIR)/debian/tmp/usr/share/doc/fake/arp_fun.txt
+ gzip --best -n $(CURDIR)/debian/tmp/usr/share/doc/fake/arp_fun.txt
dh_movefiles --source=debian/tmp