diff --git a/vim.spec b/vim.spec index 62f70e5..4e45f42 100644 --- a/vim.spec +++ b/vim.spec @@ -6,7 +6,7 @@ %define with_gvim 0 Name: vim -Version: 7.4.1386 +Version: 7.4.1797 Release: 1mamba Summary: VIsual editor iMproved Group: Applications/Text @@ -76,6 +76,10 @@ cd patches tar xf %{SOURCE3} cd .. ls patches/| sort -V | while read f; do + [ "$f" = "7.4.1425" -o "$f" = "7.4.1601" -o "$f" = "7.4.1602" -o "$f" = "7.4.1721" ] && { + cat patches/$f | patch -p0 -f || true + continue + } cat patches/$f | patch -p0 done @@ -176,20 +180,10 @@ install -m 0755 -D src/gvim %{buildroot}%{_bindir}/gvim %files %defattr(-,root,root) %{_bindir}/* -%{_datadir}/vim/%{vimdir}/*.vim -%{_datadir}/vim/%{vimdir}/autoload -%{_datadir}/vim/%{vimdir}/colors -%{_datadir}/vim/%{vimdir}/compiler -%{_datadir}/vim/%{vimdir}/ftplugin -%{_datadir}/vim/%{vimdir}/indent -%{_datadir}/vim/%{vimdir}/keymap -%{_datadir}/vim/%{vimdir}/lang -%{_datadir}/vim/%{vimdir}/macros -%{_datadir}/vim/%{vimdir}/plugin -%{_datadir}/vim/%{vimdir}/print -%{_datadir}/vim/%{vimdir}/spell -%{_datadir}/vim/%{vimdir}/syntax -%{_datadir}/vim/%{vimdir}/tools +%dir %{_datadir}/vim/%{vimdir} +%{_datadir}/vim/%{vimdir}/* +%exclude %{_datadir}/vim/%{vimdir}/doc +%exclude %{_datadir}/vim/%{vimdir}/tutor %{_sysconfdir}/skel/.vimrc %{_mandir}/man1/* %lang(fr) %{_mandir}/fr*/man1/ @@ -212,6 +206,9 @@ install -m 0755 -D src/gvim %{buildroot}%{_bindir}/gvim %{_datadir}/vim/%{vimdir}/tutor %changelog +* Sat Jun 04 2016 Automatic Build System 7.4.1797-1mamba +- automatic version update by autodist + * Thu Feb 25 2016 Automatic Build System 7.4.1386-1mamba - automatic version update by autodist