SPECS: vim-spell-pl.spec - vimdatadir is in vim-rt package; rel 2

glen glen at pld-linux.org
Thu May 29 22:54:26 CEST 2008


Author: glen                         Date: Thu May 29 20:54:26 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- vimdatadir is in vim-rt package; rel 2

---- Files affected:
SPECS:
   vim-spell-pl.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/vim-spell-pl.spec
diff -u SPECS/vim-spell-pl.spec:1.4 SPECS/vim-spell-pl.spec:1.5
--- SPECS/vim-spell-pl.spec:1.4	Mon Feb 12 23:09:19 2007
+++ SPECS/vim-spell-pl.spec	Thu May 29 22:54:21 2008
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Polskie słowniki dla VIMspella
 Name:		vim-spell-pl
 Version:	20060706
-Release:	1
+Release:	2
 License:	Creative Commons License
 Group:		Applications/Editors/Vim
 Source0:	http://www.kurnik.pl/slownik/ort/alt-myspell-pl-%{version}.tar.bz2
@@ -12,10 +12,12 @@
 Patch0:		%{name}-pl_PL.diff
 URL:		http://www.kurnik.pl/slownik/ort/
 BuildRequires:	vim >= 4:7.0
-Requires:	vim >= 4:7.0.017-2
+Requires:	vim-rt >= 4:7.0.017-2
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_vimdatadir	%{_datadir}/vim/vimfiles
+
 %description
 Polish dictionaries for VIMspell.
 
@@ -32,9 +34,9 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/spell
+install -d $RPM_BUILD_ROOT%{_vimdatadir}/spell
 
-install *.spl $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/spell
+install *.spl $RPM_BUILD_ROOT%{_vimdatadir}/spell
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -42,7 +44,7 @@
 %files
 %defattr(644,root,root,755)
 %doc README_pl_PL.txt
-%{_datadir}/vim/vimfiles/spell/pl.*.spl
+%{_vimdatadir}/spell/pl.*.spl
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -50,6 +52,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008-05-29 20:54:21  glen
+- vimdatadir is in vim-rt package; rel 2
+
 Revision 1.4  2007-02-12 22:09:19  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/vim-spell-pl.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list