[tomcat8] 03/04: Use LC_ALL instead of LANG to format the date and make the documentation reproducible on the builders

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Dec 18 11:38:55 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository tomcat8.

commit afd9681b01e3b54b6b7ce3061b655e10fb3b82b6
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Fri Dec 18 11:43:51 2015 +0100

    Use LC_ALL instead of LANG to format the date and make the documentation reproducible on the builders
---
 debian/changelog | 2 ++
 debian/rules     | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 4e4ddda..3bac9e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ tomcat8 (8.0.30-1) UNRELEASED; urgency=medium
   * Team upload.
   * New upstream release
     - Refreshed the patches
+  * Use LC_ALL instead of LANG to format the date and make the documentation
+    reproducible on the builders
 
  -- Emmanuel Bourg <ebourg at apache.org>  Fri, 18 Dec 2015 09:48:39 +0100
 
diff --git a/debian/rules b/debian/rules
index 2f5e267..bcfed1e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ VERSION   := $(shell dpkg-parsechangelog --show-field Version | sed 's/-[^-]*$$/
 DATE      := $(shell dpkg-parsechangelog --show-field Date)
 ANT       := ant -propertyfile debian/ant.properties \
              -Dyear=$(shell date --date='$(DATE)' --utc +'%Y') \
-             -Dtoday='$(shell LANG=fr_FR date --date='$(DATE)' --utc +'%b %-d %Y')' \
+             -Dtoday='$(shell LC_ALL=C date --date='$(DATE)' --utc +'%b %-d %Y')' \
              -Dtoday-iso-8601=$(shell date --date='$(DATE)' --utc +'%F') \
              -Dtstamp=$(shell date --date='$(DATE)' --utc +%H:%M:%S) \
              -Ddistribution.name=$(shell lsb_release -si)

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



More information about the pkg-java-commits mailing list