[Reproducible-builds] Bug#834109: tuxpaint: please make the build reproducible
Chris Lamb
lamby at debian.org
Thu Aug 11 23:05:16 UTC 2016
Source: tuxpaint
Version: 1:0.9.22-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
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
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- 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
More information about the Reproducible-builds
mailing list