Unset $DISPLAY in macros

This commit is contained in:
Elliot Lee 2003-03-03 16:16:20 +00:00
parent ae8ce229ab
commit 4410abdbbb
2 changed files with 6 additions and 0 deletions

3
macros
View File

@ -118,17 +118,20 @@ package or when debugging this package.\
%%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}
%find_lang /usr/lib/rpm/redhat/find-lang.sh %{buildroot}

View File

@ -28,6 +28,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_prefix}/lib/rpm/redhat
%changelog
* Mon Mar 03 2003 Elliot Lee <sopwith@redhat.com>
- Unset $DISPLAY in macros
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com> 8.0.21-1
- Just turn on -g unconditionally for now