summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorTurbo Fredriksson <[email protected]>2014-06-09 23:27:09 +0200
committerBrian Behlendorf <[email protected]>2014-06-10 16:46:21 -0700
commit0f629346bb335d8521600ae1491884fe8a8a2d27 (patch)
tree2ce98a6f1d0f4b430560d04e15ed347b5dd5bf4c /config
parent21b446a79e2ebd372d34c81a1d97f5f4519ebea9 (diff)
Set LANG to a reasonable default (C)
Set LANG=C before calling 'rpmbuild' to avoid rpmbuild failing on the translated date string in the changelog. Signed-off-by: Turbo Fredriksson <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes: zfsonlinux/spl#306
Diffstat (limited to 'config')
-rw-r--r--config/rpm.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/rpm.am b/config/rpm.am
index 8b33bb5b6..311c754d4 100644
--- a/config/rpm.am
+++ b/config/rpm.am
@@ -63,7 +63,7 @@ srpm-common: dist
rpmbuild="$$rpmbuild" \
rpmspec="$$rpmspec" \
rpm-local || exit 1; \
- $(RPMBUILD) \
+ LANG=C $(RPMBUILD) \
--define "_tmppath $$rpmbuild/TMP" \
--define "_topdir $$rpmbuild" \
$(def) -bs $$rpmbuild/SPECS/$$rpmspec || exit 1; \
@@ -79,7 +79,7 @@ rpm-common:
rpmbuild="$$rpmbuild" \
rpmspec="$$rpmspec" \
rpm-local || exit 1; \
- ${RPMBUILD} \
+ LANG=C ${RPMBUILD} \
--define "_tmppath $$rpmbuild/TMP" \
--define "_topdir $$rpmbuild" \
$(def) --rebuild $$rpmpkg || exit 1; \