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_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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
4
vim.spec
4
vim.spec
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user