This commit is contained in:
parent
81b8b53252
commit
f4d7f36988
@ -24,6 +24,10 @@ function! SKEL_spec()
|
||||
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"
|
||||
setf spec
|
||||
endfunction
|
||||
autocmd BufNewFile *.spec call SKEL_spec()
|
||||
" filetypes
|
||||
filetype plugin on
|
||||
filetype indent on
|
||||
" ~/.vimrc ends here
|
||||
|
@ -25,6 +25,7 @@ AutoReqProv: on
|
||||
Authors:
|
||||
--------
|
||||
Name Surname
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
@ -42,8 +43,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%postun
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,0755)
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog README COPYING
|
||||
|
||||
%changelog
|
||||
* specRPM_CREATION_DATE - specRPM_CREATION_AUTHOR_MAIL
|
||||
* specRPM_CREATION_DATE specRPM_CREATION_AUTHOR_MAIL
|
||||
|
@ -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
|
||||
|
||||
|
4
vim.spec
4
vim.spec
@ -20,7 +20,7 @@
|
||||
|
||||
Name: vim
|
||||
Version: 7.2
|
||||
Release: 10
|
||||
Release: 11
|
||||
#
|
||||
License: Other uncritical OpenSource License; http://vimdoc.sourceforge.net/htmldoc/uganda.html#license
|
||||
Group: Productivity/Editors/Vi
|
||||
@ -696,6 +696,8 @@ fi
|
||||
%endif
|
||||
|
||||
%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
|
||||
- Upto version 7.2.127
|
||||
- Be sure that lib64 is found by configure
|
||||
|
Loading…
Reference in New Issue
Block a user