Drop (un)setting LANG and DISPLAY in various build stages.

rpm >= 4.8.0 takes care of that itself.
This commit is contained in:
Ville Skyttä 2011-09-25 11:25:34 +03:00
parent f41a8a73aa
commit e8199cfec5

21
macros
View File

@ -131,29 +131,8 @@ package or when debugging this package.\
%endif\ %endif\
%{nil} %{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 %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
%%install\ %%install\
LANG=C\
export LANG\
unset DISPLAY\
%{nil}
%check %%check\
unset DISPLAY\
%{nil} %{nil}
# #