diff -urNad dict-stardic.orig/dict-stardic-1.3.1/debian/rules dict-stardic/dict-stardic-1.3.1/debian/rules --- dict-stardic.orig/dict-stardic-1.3.1/debian/rules 2015-01-27 22:51:14.699367508 +0000 +++ dict-stardic/dict-stardic-1.3.1/debian/rules 2015-01-27 22:52:14.426009212 +0000 @@ -9,7 +9,7 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 - +BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date) CFLAGS = -Wall -g @@ -25,7 +25,9 @@ dh_testdir ./convert.sh - cat stardic | /usr/bin/dictfmt -t -s "Stardic English-Chinese Dictionary" stardic + cat stardic | /usr/bin/dictfmt -t -s "Stardic English-Chinese Dictionary" --without-time stardic + # Ensure deterministic mtime for dictzip to inherit + touch --date='$(BUILD_DATE)' stardic.dict /usr/bin/dictzip -v stardic.dict touch build-stamp