commit 2685d67a8a9dd7eaa483cc27f8c71b6712bec8fa
Author: Elan Ruusamäe <[email protected]>
Date:   Fri Aug 21 13:02:40 2015 +0300

    install to vimfiles dir to override system file
    
    :set runtimepath
    
runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim,/usr/share/vim/vimfiles/after,~/.vim/after

 vim-plugin-python-pep8-indent.spec | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/vim-plugin-python-pep8-indent.spec 
b/vim-plugin-python-pep8-indent.spec
index 00ee81f..a4d8d50 100644
--- a/vim-plugin-python-pep8-indent.spec
+++ b/vim-plugin-python-pep8-indent.spec
@@ -9,23 +9,22 @@ Group:                Applications/Editors/Vim
 Source0:       
https://github.com/hynek/vim-python-pep8-indent/archive/master.tar.gz
 # Source0-md5: 8b1174311aedccb17807c9cac7c5baee
 URL:           https://github.com/hynek/vim-python-pep8-indent
-Requires:      vim-rt >= 4:7.2.170
+Requires:      vim-rt >= 4:6.3.058-3
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _vimdatadir     %{_datadir}/vim
+%define                _vimdatadir     %{_datadir}/vim/vimfiles
 
 %description
-A nicer Python indentation style for vim.
+A nicer Python indentation style for Vim.
 
 %prep
 %setup -q -n vim-%{plugin}-master
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT%{_vimdatadir}/indent
-cp -a indent/python.vim $RPM_BUILD_ROOT%{_vimdatadir}/indent
+cp -p indent/python.vim $RPM_BUILD_ROOT%{_vimdatadir}/indent
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vim-plugin-python-pep8-indent.git/commitdiff/2685d67a8a9dd7eaa483cc27f8c71b6712bec8fa

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to