Source: zomg
Version: 0.7.1-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 zomg could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, zomg 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 zomg.orig/zomg-0.7.1/debian/rules zomg/zomg-0.7.1/debian/rules
--- zomg.orig/zomg-0.7.1/debian/rules 2015-02-07 09:37:53.804365279 +0000
+++ zomg/zomg-0.7.1/debian/rules 2015-02-07 09:38:56.879173194 +0000
@@ -56,9 +56,9 @@
# Build architecture-dependent files here.
binary-arch: checkroot build install
- gzip -9f debian/zomg/usr/share/man/man1/zomg*.1
+ gzip -9fn debian/zomg/usr/share/man/man1/zomg*.1
$(INSTALL_FILE) debian/changelog
debian/zomg/usr/share/doc/zomg/changelog.Debian
- gzip -9f debian/zomg/usr/share/doc/zomg/changelog.Debian
+ gzip -9fn debian/zomg/usr/share/doc/zomg/changelog.Debian
$(INSTALL_FILE) debian/copyright debian/zomg/usr/share/doc/zomg
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
strip --remove-section=.comment --remove-section=.note
debian/zomg/usr/bin/zomghelper