Hello community,
here is the log from the commit of package vim for openSUSE:Factory
checked in at Mon Sep 28 17:26:30 CEST 2009.
--------
--- vim/vim.changes 2009-05-13 12:19:25.000000000 +0200
+++ vim/vim.changes 2009-09-28 15:32:58.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Sep 28 15:32:01 CEST 2009 - werner@suse.de
+
+- Avoid network based systems calls during ~/.vimrc (bnc#538768)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ vim.spec ++++++
--- /var/tmp/diff_new_pack.eILTaM/_old 2009-09-28 17:25:01.000000000 +0200
+++ /var/tmp/diff_new_pack.eILTaM/_new 2009-09-28 17:25:01.000000000 +0200
@@ -20,9 +20,9 @@
Name: vim
Version: 7.2
-Release: 13
+Release: 14
#
-License: Other uncritical OpenSource License; http://vimdoc.sourceforge.net/htmldoc/uganda.html#license
+License: Other uncritical OpenSource License ; http://vimdoc.sourceforge.net/htmldoc/uganda.html#license
Group: Productivity/Editors/Vi
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -124,7 +124,7 @@
Bram Moolenaar
%package data
-License: Other uncritical OpenSource License; Charityware. http://vimdoc.sourceforge.net/htmldoc/uganda.html#license
+License: Other uncritical OpenSource License ; Charityware. http://vimdoc.sourceforge.net/htmldoc/uganda.html#license
Group: Productivity/Editors/Vi
PreReq: %{vim_prereq}
#
@@ -151,7 +151,7 @@
Bram Moolenaar
%package base
-License: Other uncritical OpenSource License; Charityware. http://vimdoc.sourceforge.net/htmldoc/uganda.html#license
+License: Other uncritical OpenSource License ; Charityware. http://vimdoc.sourceforge.net/htmldoc/uganda.html#license
Group: Productivity/Editors/Vi
PreReq: %{vim_prereq}
PreReq: update-alternatives
@@ -253,7 +253,7 @@
%endif
%package -n gvim
-License: Other uncritical OpenSource License; Charityware. If you wish please donate to Uganda
+License: Other uncritical OpenSource License ; Charityware. If you wish please donate to Uganda
Group: Productivity/Editors/Vi
PreReq: %{gvim_prereq}
PreReq: update-alternatives
++++++ dot.vimrc ++++++
--- /var/tmp/diff_new_pack.eILTaM/_old 2009-09-28 17:25:01.000000000 +0200
+++ /var/tmp/diff_new_pack.eILTaM/_new 2009-09-28 17:25:01.000000000 +0200
@@ -3,24 +3,29 @@
function! SKEL_spec()
0r /usr/share/vim/current/skeletons/skeleton.spec
language time en_US
- let login = system('whoami')
- if v:shell_error
- let login = 'unknown'
+ if $USER != ''
+ let login = $USER
+ elseif $LOGNAME != ''
+ let login = $LOGNAME
else
- let newline = stridx(login, "\n")
- if newline != -1
- let login = strpart(login, 0, newline)
- endif
+ let login = 'unknown'
endif
- let hostname = system('hostname -f')
- if v:shell_error
- let hostname = 'localhost'
+ let newline = stridx(login, "\n")
+ if newline != -1
+ let login = strpart(login, 0, newline)
+ endif
+ if $HOSTNAME != ''
+ let hostname = $HOSTNAME
else
- let newline = stridx(hostname, "\n")
- if newline != -1
- let hostname = strpart(hostname, 0, newline)
+ let hostname = system('hostname -f')
+ if v:shell_error
+ let hostname = 'localhost'
endif
endif
+ let newline = stridx(hostname, "\n")
+ if newline != -1
+ let hostname = strpart(hostname, 0, newline)
+ endif
exe "%s/specRPM_CREATION_DATE/" . strftime("%a\ %b\ %d\ %Y") . "/ge"
exe "%s/specRPM_CREATION_AUTHOR_MAIL/" . login . "@" . hostname . "/ge"
exe "%s/specRPM_CREATION_NAME/" . expand("%:t:r") . "/ge"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org