diff -urNad klone.orig/klone-2.1.0~rc1/debian/rules klone/klone-2.1.0~rc1/debian/rules --- klone.orig/klone-2.1.0~rc1/debian/rules 2015-02-08 19:28:25.681625347 +0000 +++ klone/klone-2.1.0~rc1/debian/rules 2015-02-08 19:32:52.857349447 +0000 @@ -6,6 +6,8 @@ VER := $(shell dh_testdir && ls build/dist/klone-core-*.tar* | head -n 1 | perl -ne 'print $$1 if /klone-core-(.*)\.tar\.gz/;') +BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date) + build: build-stamp build-stamp: @@ -14,7 +16,7 @@ test -e "klone-source" || ln -s . klone-source test -e "build/dist/klone-core-$(VER).tar.gz.orig" || mv "build/dist/klone-core-$(VER).tar.gz" "build/dist/klone-core-$(VER).tar.gz.orig" test -L "build/dist/klone-core-$(VER).tar.gz" || ln -s "/usr/src/klone-core-$(VER).tar.gz" "build/dist/klone-core-$(VER).tar.gz" - tar cf debian/klone-source.tar.bz2 --bzip2 --exclude=klone-source/klone-source --exclude=klone-source/debian --exclude=klone-source/build/dist/klone-*orig --exclude="klone-core-$(VER)" klone-source/* + tar cf debian/klone-source.tar.bz2 --bzip2 --exclude=klone-source/klone-source --exclude=klone-source/debian --exclude=klone-source/build/dist/klone-*orig --exclude="klone-core-$(VER)" --mtime="$(BUILD_DATE)" klone-source/* test ! -L "build/dist/klone-core-$(VER).tar.gz" || rm "build/dist/klone-core-$(VER).tar.gz" test ! -e "build/dist/klone-core-$(VER).tar.gz.orig" || mv "build/dist/klone-core-$(VER).tar.gz.orig" "build/dist/klone-core-$(VER).tar.gz" rm -f klone-source