aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
authorFunda Wang <fwang@mageia.org>2012-11-02 02:55:00 +0000
committerFunda Wang <fwang@mageia.org>2012-11-02 02:55:00 +0000
commit975c9d69d6fac35f07086cc03a20bdc8fd3b288c (patch)
tree9f27679792b1e1722fc9c686c010f8d6913e0bf2 /build.macros.in
parentdb85ce94915c8ca0b8898f08ab1f145586bc4a7c (diff)
downloadrpm-setup-975c9d69d6fac35f07086cc03a20bdc8fd3b288c.tar
rpm-setup-975c9d69d6fac35f07086cc03a20bdc8fd3b288c.tar.gz
rpm-setup-975c9d69d6fac35f07086cc03a20bdc8fd3b288c.tar.bz2
rpm-setup-975c9d69d6fac35f07086cc03a20bdc8fd3b288c.tar.xz
rpm-setup-975c9d69d6fac35f07086cc03a20bdc8fd3b288c.zip
1.162: set LC_CTYPE as UTF-8 when building gem1.162
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.macros.in b/build.macros.in
index f5debdb..55f6e46 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -483,11 +483,13 @@ popd
%__gem_helper @RPMVENDORDIR@/gem_helper.rb
%gem_build(f:j:) \
+ export LC_CTYPE=UTF-8 \
%__gem_helper build \\\
%{-f:-f%{-f*}} \\\
%{!-j:%{_smp_mflags}}%{-j:-j%{-j*}}
%gem_install(i:n:C) \
+ export LC_CTYPE=UTF-8 \
DESTDIR=${DESTDIR:-%{buildroot}} \\\
%__gem_helper install \\\
--env-shebang --rdoc --ri --force --ignore-dependencies \\\