cleanup/unify
OBS-URL: https://build.opensuse.org/package/show/editors/vim-plugins?expand=0&rev=109
This commit is contained in:
parent
3df1af382e
commit
7059e5e0b4
@ -717,7 +717,7 @@ chmod -v 644 taglist-%{taglist_version}/doc/taglist.txt
|
|||||||
%install
|
%install
|
||||||
pushd editorconfig-vim-%{editorconfig_version}
|
pushd editorconfig-vim-%{editorconfig_version}
|
||||||
rm -rf plugin/editorconfig-core-py/ tests/
|
rm -rf plugin/editorconfig-core-py/ tests/
|
||||||
rm mkzip.sh
|
rm -f mkzip.sh
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd nerdtree-%{NERDtree_version}
|
pushd nerdtree-%{NERDtree_version}
|
||||||
@ -729,18 +729,23 @@ rm -f salt-vim.spec
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
pushd tlib_vim-%{tlib_version}
|
pushd tlib_vim-%{tlib_version}
|
||||||
rm -r addon-info.json doc/tags etc samples scripts test
|
rm -rf addon-info.json doc/tags etc samples scripts test
|
||||||
|
popd
|
||||||
|
|
||||||
|
pushd vim-airline-%{airline_version}
|
||||||
|
rm -rf t/ ISSUE_TEMPLATE.md Gemfile Rakefile
|
||||||
popd
|
popd
|
||||||
|
|
||||||
install -d %buildroot/%vimplugin_dir
|
install -d %buildroot/%vimplugin_dir
|
||||||
for i in vimplugin-* a.vim-* ack.vim-* Align-* calendar.vim--Matsumoto-* \
|
for i in vimplugin-* ale-* a.vim-* ack.vim-* Align-* calendar.vim--Matsumoto-* \
|
||||||
colorsel.vim-* bufexplorer-* diffchanges.vim-* editorconfig-vim-* \
|
colorsel.vim-* bufexplorer-* diffchanges.vim-* editorconfig-vim-* \
|
||||||
file-line-* gitdiff.vim-* LocateOpen-* matrix.vim--Yang-* \
|
file-line-* gitdiff.vim-* LocateOpen-* matrix.vim--Yang-* \
|
||||||
minibufexpl.vim-* MultipleSearch-* neomutt.vim-* nerdcommenter-* \
|
minibufexpl.vim-* MultipleSearch-* neomutt.vim-* nerdcommenter-* \
|
||||||
nerdtree-* project.tar.gz-* quilt-* rails.vim-* salt-vim-* \
|
nerdtree-* project.tar.gz-* quilt-* rails.vim-* salt-vim-* \
|
||||||
SearchComplete-* ShowMarks7-* snipMate-* SuperTab--Van-Dewoestine-* \
|
SearchComplete-* ShowMarks7-* snipMate-* SuperTab--Van-Dewoestine-* \
|
||||||
taglist-* tlib_vim-* tregisters-* tselectbuffer-* tselectfiles-* \
|
taglist-* tlib_vim-* tregisters-* tselectbuffer-* tselectfiles-* \
|
||||||
utl.vim-* vim-fugitive-* vim-gnupg-* vimwiki-* ZoomWin-*; do
|
utl.vim-* vim-airline-* vim-fugitive-* vim-gnupg-* vimwiki-* \
|
||||||
|
ZoomWin-*; do
|
||||||
pushd $i
|
pushd $i
|
||||||
cp -av * %buildroot/%vimplugin_dir/
|
cp -av * %buildroot/%vimplugin_dir/
|
||||||
popd
|
popd
|
||||||
@ -764,29 +769,18 @@ chmod 644 indent/markdown.vim
|
|||||||
%{makeinstall} 'ADDONS=${VIMDIR}/site'
|
%{makeinstall} 'ADDONS=${VIMDIR}/site'
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd ale-%{ale_version}
|
|
||||||
for i in ale_linters doc autoload ftplugin plugin rplugin syntax; do
|
|
||||||
cp -a $i %{buildroot}/%{vimplugin_dir}
|
|
||||||
done
|
|
||||||
popd
|
|
||||||
|
|
||||||
pushd vim-airline-%{airline_version}
|
|
||||||
for i in doc autoload plugin; do
|
|
||||||
cp -a $i %{buildroot}/%{vimplugin_dir}
|
|
||||||
done
|
|
||||||
popd
|
|
||||||
|
|
||||||
install -d %{buildroot}/%vimplugin_dir/snippets/
|
install -d %{buildroot}/%vimplugin_dir/snippets/
|
||||||
install -m 644 %{SOURCE1000} %{buildroot}/%vimplugin_dir/snippets/
|
install -m 644 %{SOURCE1000} %{buildroot}/%vimplugin_dir/snippets/
|
||||||
|
|
||||||
# delete unneeded files
|
# delete unneeded files
|
||||||
rm -rf %{buildroot}/%vimplugin_dir/CHANGE*
|
rm -f %{buildroot}/%vimplugin_dir/CHANGE*
|
||||||
rm -rf %{buildroot}/%vimplugin_dir/CONTRIBUT*
|
rm -f %{buildroot}/%vimplugin_dir/CONTRIBUT*
|
||||||
rm -rf %{buildroot}/%vimplugin_dir/LICEN?E*
|
rm -f %{buildroot}/%vimplugin_dir/LICEN?E*
|
||||||
rm -rf %{buildroot}/%vimplugin_dir/README*
|
rm -f %{buildroot}/%vimplugin_dir/README*
|
||||||
rm -rf %{buildroot}/%vimplugin_dir/doc/Makefile*
|
rm -f %{buildroot}/%vimplugin_dir/supported-tools.md
|
||||||
rm -rf %{buildroot}/%vimplugin_dir/doc/README*
|
rm -f %{buildroot}/%vimplugin_dir/doc/Makefile*
|
||||||
rm -rf %{buildroot}/%vimplugin_dir/doc/*.{xml,xsl,css}
|
rm -f %{buildroot}/%vimplugin_dir/doc/README*
|
||||||
|
rm -f %{buildroot}/%vimplugin_dir/doc/*.{xml,xsl,css}
|
||||||
|
|
||||||
# For every plugin providing documentation, we have to call the post and postun
|
# For every plugin providing documentation, we have to call the post and postun
|
||||||
# scriptlets.
|
# scriptlets.
|
||||||
|
Loading…
Reference in New Issue
Block a user