> The attached patch removes timestamps from the build system.

Updated patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff -urNad binutils-m68hc1x.orig/binutils-m68hc1x-2.18/debian/rules 
binutils-m68hc1x/binutils-m68hc1x-2.18/debian/rules
--- binutils-m68hc1x.orig/binutils-m68hc1x-2.18/debian/rules    2015-02-07 
15:51:10.398826272 +0000
+++ binutils-m68hc1x/binutils-m68hc1x-2.18/debian/rules 2015-02-07 
16:30:30.787463104 +0000
@@ -5,6 +5,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date)
+
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
 DEB_BUILD_GNU_TYPE      := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
@@ -58,7 +60,7 @@
 build-stamp: configure
        dh_testdir
        cd build && $(MAKE)
-       tar cfz $(CURDIR)/example.tar.gz example
+       GZIP=-9n tar cfz $(CURDIR)/example.tar.gz example 
--mtime="$(BUILD_DATE)"
        touch build-stamp
 
 install: build

Reply via email to