redhat-rpm-config/0001-Drop-un-setting-LANG-a...

48 lines
919 B
Diff

From 17d08cd3942405e20889ba7d420191993c93a12f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
Date: Sun, 25 Sep 2011 11:25:34 +0300
Subject: [PATCH] Drop (un)setting LANG and DISPLAY in various build stages.
rpm >= 4.8.0 takes care of that itself.
---
macros | 21 ---------------------
1 files changed, 0 insertions(+), 21 deletions(-)
diff --git a/macros b/macros
index 1ac46d7..a6bf95d 100644
--- a/macros
+++ b/macros
@@ -129,29 +129,8 @@ package or when debugging this package.\
%endif\
%{nil}
-# Bad hack to set $LANG to C during all RPM builds
-%prep \
-%%prep\
-LANG=C\
-export LANG\
-unset DISPLAY\
-%{nil}
-
-%build %%build\
-LANG=C\
-export LANG\
-unset DISPLAY\
-%{nil}
-
%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
%%install\
-LANG=C\
-export LANG\
-unset DISPLAY\
-%{nil}
-
-%check %%check\
-unset DISPLAY\
%{nil}
#
--
1.7.6