Source: tuxpaint
Version: 1:0.9.22-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed
that tuxpaint could not be built reproducibly.

Patch attached.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2016-08-11 23:21:14.202675808 +0100
--- b/debian/rules      2016-08-12 00:01:33.767530971 +0100
@@ -10,6 +10,8 @@
 
 export DH_ALWAYS_EXCLUDE=CVS
 
+VER_DATE = $(shell date --utc --date="$$(dpkg-parsechangelog -SDate)" 
'+%Y-%m-%d')
+
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
        DEBUG_FLAGS += -g
 endif
@@ -31,7 +33,7 @@
 
        # Add here commands to compile the package.
        $(MAKE) clean
-       $(MAKE) all PREFIX=/usr DEBUG_FLAGS="$(DEBUG_FLAGS)"
+       $(MAKE) all PREFIX=/usr DEBUG_FLAGS="$(DEBUG_FLAGS)" 
VER_DATE="$(VER_DATE)"
 
        touch build-arch-stamp
 

Reply via email to