Use numeric build-date
authorIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
Tue, 16 Feb 2016 15:44:52 +0000 (16:44 +0100)
committerIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
Tue, 16 Feb 2016 15:44:52 +0000 (16:44 +0100)
to get rid of locale problems when building reproducibly

debian/rules

index 2bf743c0961fc0233b81385fa429ef973992998f..b2aea6b2577cb1e8dda66bc7b715b89564771a2a 100755 (executable)
@@ -3,8 +3,8 @@
 # Copyright © 2015 IOhannes m zmölnig <umlaeute@debian.org>
 # Description: Main Debian packaging script for JUCE
 
-BUILD_DATE=$(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"%h %d %Y")
-#export DEB_CPPFLAGS_MAINT_APPEND = -DBUILD_DATE='"$(BUILD_DATE)"'
+#BUILD_DATE=$(shell LC_ALL=C date -u -d "$$(dpkg-parsechangelog -SDate)" +"%h %d %Y")
+BUILD_DATE=$(shell date -u -d "$$(dpkg-parsechangelog -SDate)" +"%Y/%m/%d UTC")
 
 DEB_SRCDIR=debian/libbuilder/
 BUILDDIR=$(DEB_SRCDIR)build