[redhat-rpm-config: 60/215] Unset $DISPLAY in macros

Panu Matilainen pmatilai at fedoraproject.org
Wed Apr 2 10:23:24 UTC 2014


commit 4410abdbbbe69200ca2260ec02d53b1ba746668d
Author: Elliot Lee <sopwith at redhat.com>
Date:   Mon Mar 3 16:16:20 2003 +0000

    Unset $DISPLAY in macros

 macros                 |    3 +++
 redhat-rpm-config.spec |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/macros b/macros
index dee5784..71bdbef 100644
--- a/macros
+++ b/macros
@@ -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}
diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec
index d140601..c8f939b 100644
--- a/redhat-rpm-config.spec
+++ b/redhat-rpm-config.spec
@@ -28,6 +28,9 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_prefix}/lib/rpm/redhat
 
 %changelog
+* Mon Mar 03 2003 Elliot Lee <sopwith at redhat.com>
+- Unset $DISPLAY in macros
+
 * Mon Feb 24 2003 Elliot Lee <sopwith at redhat.com> 8.0.21-1
 - Just turn on -g unconditionally for now
 


More information about the scm-commits mailing list