[SCM] pd-iemnet/master: Replace timestamp with time from debian/changelog

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Thu Sep 3 09:50:39 UTC 2015


The following commit has been merged in the master branch:
commit 8793378984e542ef58fff221c376595b1666f2a5
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Wed Sep 2 14:42:13 2015 +0200

    Replace timestamp with time from debian/changelog
    
    the BUILD_DATE define will take effect with the upcoming iemnet-0.2.
    This should make the build reproducible

diff --git a/debian/rules b/debian/rules
index e63f146..7146ba3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+BUILD_DATE=$(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"on %Y/%m/%d at %H:%M:%S UTC")
+export DEB_CPPFLAGS_MAINT_APPEND = -DBUILD_DATE='"$(BUILD_DATE)"'
+
 %:
 	dh $@
 

-- 
pd-iemnet packaging



More information about the pkg-multimedia-commits mailing list