]> git.pld-linux.org Git - packages/vim-plugin-python-pep8-indent.git/commitdiff
install to vimfiles dir to override system file master auto/th/vim-plugin-python-pep8-indent-0.1-0.20150817.1
authorElan Ruusamäe <glen@delfi.ee>
Fri, 21 Aug 2015 10:02:40 +0000 (13:02 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 21 Aug 2015 10:03:22 +0000 (13:03 +0300)
:set runtimepath
runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim,/usr/share/vim/vimfiles/after,~/.vim/after

vim-plugin-python-pep8-indent.spec

index 00ee81fe79980d63ecac417d989b96f9c749abc8..a4d8d503b01fcc8fd4ff7c2adc87f6e80abbb606 100644 (file)
@@ -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
This page took 0.104486 seconds and 4 git commands to generate.