OBS User unknown 2009-02-26 14:49:59 +00:00 committed by Git OBS Bridge
parent 81b8b53252
commit f4d7f36988
4 changed files with 16 additions and 4 deletions

View File

@ -24,6 +24,10 @@ function! SKEL_spec()
exe "%s/specRPM_CREATION_DATE/" . strftime("%a\ %b\ %d\ %Y") . "/ge" exe "%s/specRPM_CREATION_DATE/" . strftime("%a\ %b\ %d\ %Y") . "/ge"
exe "%s/specRPM_CREATION_AUTHOR_MAIL/" . login . "@" . hostname . "/ge" exe "%s/specRPM_CREATION_AUTHOR_MAIL/" . login . "@" . hostname . "/ge"
exe "%s/specRPM_CREATION_NAME/" . expand("%:t:r") . "/ge" exe "%s/specRPM_CREATION_NAME/" . expand("%:t:r") . "/ge"
setf spec
endfunction endfunction
autocmd BufNewFile *.spec call SKEL_spec() autocmd BufNewFile *.spec call SKEL_spec()
" filetypes
filetype plugin on
filetype indent on
" ~/.vimrc ends here " ~/.vimrc ends here

View File

@ -25,6 +25,7 @@ AutoReqProv: on
Authors: Authors:
-------- --------
Name Surname Name Surname
%prep %prep
%setup %setup
@ -42,8 +43,8 @@ rm -rf $RPM_BUILD_ROOT
%postun %postun
%files %files
%defattr(-,root,root,0755) %defattr(-,root,root)
%doc ChangeLog README COPYING %doc ChangeLog README COPYING
%changelog %changelog
* specRPM_CREATION_DATE - specRPM_CREATION_AUTHOR_MAIL * specRPM_CREATION_DATE specRPM_CREATION_AUTHOR_MAIL

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 26 14:38:19 CET 2009 - werner@suse.de
- Add file type detection to personal vimrc skeleton (bnc#404013)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 25 16:55:54 CET 2009 - werner@suse.de Wed Feb 25 16:55:54 CET 2009 - werner@suse.de

View File

@ -20,7 +20,7 @@
Name: vim Name: vim
Version: 7.2 Version: 7.2
Release: 10 Release: 11
# #
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 Group: Productivity/Editors/Vi
@ -696,6 +696,8 @@ fi
%endif %endif
%changelog %changelog
* Thu Feb 26 2009 werner@suse.de
- Add file type detection to personal vimrc skeleton (bnc#404013)
* Wed Feb 25 2009 werner@suse.de * Wed Feb 25 2009 werner@suse.de
- Upto version 7.2.127 - Upto version 7.2.127
- Be sure that lib64 is found by configure - Be sure that lib64 is found by configure