Drop (un)setting LANG and DISPLAY in various build stages.
rpm >= 4.8.0 takes care of that itself.
This commit is contained in:
parent
f41a8a73aa
commit
e8199cfec5
21
macros
21
macros
@ -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}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user