Source: libreoffice-canzeley-client Version: 0.4.0-2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [1], we have noticed that libreoffice-canzeley-client could not be built reproducibly. The attached patch removes timezone-varying timestamps from the files extracted with unzip. Once applied, libreoffice-canzeley-client can be built reproducibly in our reproducible toolchain. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- Dhole
diff -Nru libreoffice-canzeley-client-0.4.0/debian/changelog libreoffice-canzeley-client-0.4.0/debian/changelog --- libreoffice-canzeley-client-0.4.0/debian/changelog 2014-10-25 02:03:57.000000000 +0200 +++ libreoffice-canzeley-client-0.4.0/debian/changelog 2015-07-15 19:22:27.000000000 +0200 @@ -1,3 +1,11 @@ +libreoffice-canzeley-client (0.4.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * add TZ=UTC before unzip in debian/rules to make the files mtime + invariant to timezone to make the package build reproducibly. + + -- Dhole <dh...@openmailbox.org> Wed, 15 Jul 2015 19:22:19 +0200 + libreoffice-canzeley-client (0.4.0-2) unstable; urgency=low * Correct typo in control diff -Nru libreoffice-canzeley-client-0.4.0/debian/rules libreoffice-canzeley-client-0.4.0/debian/rules --- libreoffice-canzeley-client-0.4.0/debian/rules 2014-07-06 12:23:51.000000000 +0200 +++ libreoffice-canzeley-client-0.4.0/debian/rules 2015-07-15 19:22:12.000000000 +0200 @@ -26,7 +26,7 @@ dh_installdirs -A cd $(CURDIR)/debian/libreoffice-canzeley-client/usr/lib/libreoffice/share/extensions/canzeley-client && \ - unzip -o $(CURDIR)/Extension/canzeley_*.oxt + TZ=UTC unzip -o $(CURDIR)/Extension/canzeley_*.oxt mv $(CURDIR)/debian/libreoffice-canzeley-client/usr/lib/libreoffice/share/extensions/canzeley-client/icons $(CURDIR)/debian/libreoffice-canzeley-client/usr/share/libreoffice-canzeley-client/ dh_lintian
signature.asc
Description: OpenPGP digital signature