]> git.pld-linux.org Git - packages/vim-spell-pl.git/blobdiff - vim-spell-pl.spec
- don't use vimfiles
[packages/vim-spell-pl.git] / vim-spell-pl.spec
index 6b633327273030a34d0396a55c10fbc9dc1bd17b..7b3c0159228b1e9b4197c9d367634f3ea6344ef8 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Polish dictionaries for VIMspell
 Summary(pl.UTF-8):     Polskie sĹ‚owniki dla VIMspella
 Name:          vim-spell-pl
 Version:       20090531
-Release:       1
+Release:       2
 License:       Creative Commons License
 Group:         Applications/Editors/Vim
 Source0:       http://sjp.pl/slownik/ort/sjp-myspell-pl-%{version}.zip
@@ -12,11 +12,11 @@ Patch0:             %{name}-pl_PL.diff
 URL:           http://www.sjp.pl/slownik/ort/
 BuildRequires: unzip
 BuildRequires: vim >= 4:7.0
-Requires:      vim-rt >= 4:7.0.017-2
+Requires:      vim-rt >= 4:7.2.170
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _vimdatadir     %{_datadir}/vim/vimfiles
+%define                _vimdatadir     %{_datadir}/vim
 
 %description
 Polish dictionaries for VIMspell.
@@ -36,8 +36,7 @@ vim -u NONE -c 'set enc=utf-8' -c 'mkspell! pl pl_PL' -c q
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_vimdatadir}/spell
-
-install *.spl $RPM_BUILD_ROOT%{_vimdatadir}/spell
+cp -a *.spl $RPM_BUILD_ROOT%{_vimdatadir}/spell
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.122546 seconds and 4 git commands to generate.