2012-10-04 01:19:33 +00:00
|
|
|
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(-)
|
|
|
|
|
2012-11-09 11:44:55 +00:00
|
|
|
Index: redhat-rpm-config-9.1.0/macros
|
|
|
|
===================================================================
|
|
|
|
--- redhat-rpm-config-9.1.0.orig/macros
|
|
|
|
+++ redhat-rpm-config-9.1.0/macros
|
|
|
|
@@ -131,29 +131,8 @@ package or when debugging this package.\
|
2012-10-04 01:19:33 +00:00
|
|
|
%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}
|
|
|
|
|
|
|
|
#
|