Source: dict-foldoc Version: 20150318-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: locale X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi! We noticed another variation in dict-foldoc. A different date is embedded depending on the language/locale. The attached patch fixes this by using the C locale. Regards, Reiner
diff --git a/debian/rules b/debian/rules index 15f7401..9d92e07 100755 --- a/debian/rules +++ b/debian/rules @@ -28,7 +28,7 @@ build-stamp: set -ex ; \ uver=$$(dpkg-parsechangelog |\ sed -rn -e 's/^Version: ([0-9]+)-.*$$/\1/p') ; \ - udate=$$(date -d "$$uver" +"%d %B %Y"); \ + udate=$$(LC_ALL=C date -d "$$uver" +"%d %B %Y"); \ perl debian/condense newdict | \ /usr/bin/dictfmt -f --headword-separator %%% --break-headwords \ --allchars -u http://foldoc.org/Dictionary.gz \
signature.asc
Description: OpenPGP digital signature