From e8199cfec50e5efe495cd4be21099c3ed9e25f50 Mon Sep 17 00:00:00 2001 From: Ville Skyttä Date: Jan 24 2014 22:35:48 +0000 Subject: Drop (un)setting LANG and DISPLAY in various build stages. rpm >= 4.8.0 takes care of that itself. --- diff --git a/macros b/macros index aa0b2d1..4cb4f2b 100644 --- a/macros +++ b/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} #