You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1002 B
45 lines
1002 B
6 years ago
|
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(-)
|
||
|
|
||
|
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.\
|
||
|
%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}
|
||
|
|
||
|
#
|