Source: xnecview
Version: 1.35-7.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 xnecview could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, xnecview 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 xnecview.orig/xnecview-1.35/debian/rules
xnecview/xnecview-1.35/debian/rules
--- xnecview.orig/xnecview-1.35/debian/rules 2015-02-07 13:14:00.348648337
+0000
+++ xnecview/xnecview-1.35/debian/rules 2015-02-07 13:14:41.330501917 +0000
@@ -47,7 +47,7 @@
endif
install -o root -g root -m 0644 xnecview.1x \
`pwd`/debian/tmp/usr/share/man/man1/xnecview.1
- gzip -9 `pwd`/debian/tmp/usr/share/man/man1/xnecview.1
+ gzip -9n `pwd`/debian/tmp/usr/share/man/man1/xnecview.1
cp debian/copyright debian/tmp/usr/share/doc/$(package)/.
cp debian/changelog \
@@ -55,7 +55,7 @@
cp README debian/tmp/usr/share/doc/$(package)/README
cp HISTORY debian/tmp/usr/share/doc/$(package)/changelog
- cd debian/tmp/usr/share/doc/$(package) && gzip -9v changelog
changelog.Debian README
+ cd debian/tmp/usr/share/doc/$(package) && gzip -9nv changelog
changelog.Debian README
dpkg-shlibdeps $(package)
dpkg-gencontrol -isp