This is an automated email from the git hooks/post-receive script.

rhonda pushed a commit to branch master
in repository tworld.

commit 57e43104160d3a3abd7bbf07eaf84d270f6a5c28
Author: Rhonda D'Vine <rho...@debian.org>
Date:   Tue Jan 5 14:24:08 2016 +0100

    Fix reproducible issue
---
 debian/changelog | 8 ++++++++
 debian/rules     | 6 ++++++
 2 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 694a804..04a24c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tworld (1.3.2-2) unstable; urgency=medium
+
+  * Fix reproducible issue, thanks to Chris Lamb for finding the spot to
+    tweak. Closes: #792980 is about a different issue, but that one is fixed
+    and the one report about reproducible build open so closing it here.
+
+ -- Rhonda D'Vine <rho...@debian.org>  Tue, 05 Jan 2016 14:23:32 +0100
+
 tworld (1.3.2-1) unstable; urgency=medium
 
   * New Upstream release (closes: #807623)
diff --git a/debian/rules b/debian/rules
index a3306d9..887d9da 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+BUILD_DATE := $(shell dpkg-parsechangelog | sed -n -e 's/^Date: //p')
+
 %:
        dh $@
 
@@ -7,6 +9,10 @@ override_dh_clean:
        rm -f Makefile oshw-sdl/Makefile oshw
        dh_clean
 
+override_dh_auto_build:
+       echo \#define COMPILE_TIME \"$(BUILD_DATE)\" > comptime.h
+       dh_auto_build
+
 override_dh_auto_install:
        mkdir -p debian/tworld-data/usr/share/man/man6
        pod2man -s 6 -r 'Tile World' -c '' debian/c4 \

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/tworld.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to