Accepting request 419602 from home:AndreasStieger:branches:editors

- Remove vim-plugin-ag: deprecated upstream, license issues. The
  fork source vim-plugin-ack can be used:
       let g:ackprg = 'ag --vimgrep'

OBS-URL: https://build.opensuse.org/request/show/419602
OBS-URL: https://build.opensuse.org/package/show/editors/vim-plugins?expand=0&rev=46
This commit is contained in:
Martin Pluskal 2016-08-16 18:11:37 +00:00 committed by Git OBS Bridge
parent 75a19655ba
commit a00a69b2d3
3 changed files with 10 additions and 39 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Aug 16 11:26:24 UTC 2016 - astieger@suse.com
- Remove vim-plugin-ag: deprecated upstream, license issues. The
fork source vim-plugin-ack can be used:
let g:ackprg = 'ag --vimgrep'
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jun 25 13:41:30 UTC 2016 - sebix+novell.com@sebix.at Sat Jun 25 13:41:30 UTC 2016 - sebix+novell.com@sebix.at

View File

@ -48,8 +48,6 @@
%define snipmate_version 0.83 %define snipmate_version 0.83
%define rails_version 4.4 %define rails_version 4.4
%define ack_version 1.0.9 %define ack_version 1.0.9
%define ag_version 20160213
%define ag_commit 994c27dd8f237573208548e7480e39b24ccbbfba
%define editorconfig_version 0.3.3 %define editorconfig_version 0.3.3
%define fugitive_version 2.2 %define fugitive_version 2.2
@ -92,7 +90,6 @@ Source29: vimplugin-gitdiff-%{gitdiff_version}.tar.bz2
Source30: vimplugin-snipmate-%{snipmate_version}.tar.bz2 Source30: vimplugin-snipmate-%{snipmate_version}.tar.bz2
Source31: vimplugin-rails-%{rails_version}.tar.bz2 Source31: vimplugin-rails-%{rails_version}.tar.bz2
Source32: https://github.com/mileszs/ack.vim/archive/%{ack_version}.tar.gz#/vimplugin-ack-%{ack_version}.tar.gz Source32: https://github.com/mileszs/ack.vim/archive/%{ack_version}.tar.gz#/vimplugin-ack-%{ack_version}.tar.gz
Source33: https://github.com/rking/ag.vim/archive/%{ag_commit}.tar.gz#/vimplugin-ag-%{ag_version}.tar.gz
Source34: https://github.com/editorconfig/editorconfig-vim/archive/v%{editorconfig_version}.tar.gz#/vimplugin-editorconfig-%{editorconfig_version}.tar.gz Source34: https://github.com/editorconfig/editorconfig-vim/archive/v%{editorconfig_version}.tar.gz#/vimplugin-editorconfig-%{editorconfig_version}.tar.gz
Source35: https://github.com/tpope/vim-fugitive/archive/v%{fugitive_version}.tar.gz#/vimplugin-fugitive-%{fugitive_version}.tar.gz Source35: https://github.com/tpope/vim-fugitive/archive/v%{fugitive_version}.tar.gz#/vimplugin-fugitive-%{fugitive_version}.tar.gz
Source100: https://raw.githubusercontent.com/openSUSE/pack-tools/master/contrib/vim/spec.snippets Source100: https://raw.githubusercontent.com/openSUSE/pack-tools/master/contrib/vim/spec.snippets
@ -551,22 +548,12 @@ Summary: Run the ack search tool from Vim
License: Vim License: Vim
Group: Productivity/Text/Editors Group: Productivity/Text/Editors
Requires: ack >= 2.0 Requires: ack >= 2.0
Obsoletes: vim-plugin-ag <= 20160213
Provides: vim-plugin-ag = 20160231
%description -n vim-plugin-ack %description -n vim-plugin-ack
Run the ack search tool from Vim, with enhanced results listing. Run the ack search tool from Vim, with enhanced results listing.
%package -n vim-plugin-ag
Version: %ag_version
Release: 0
Summary: Run the ag (the_silver_search) search tool from Vim
License: Vim
Group: Productivity/Text/Editors
Requires: the_silver_searcher
%description -n vim-plugin-ag
Run the ack search tool from Vim, with enhanced results listing.
%package -n vim-plugin-editorconfig %package -n vim-plugin-editorconfig
Version: %editorconfig_version Version: %editorconfig_version
@ -598,7 +585,7 @@ Requires: git-core
Provides git integration with vim. Provides git integration with vim.
%prep %prep
%setup -q -c -n %{name} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -a28 -a29 -a30 -a31 -a32 -a33 -a34 -a35 %setup -q -c -n %{name} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -a28 -a29 -a30 -a31 -a32 -a34 -a35
# ------- patch locateopen ------ # ------- patch locateopen ------
pushd vimplugin-locateopen-%locateopen_version pushd vimplugin-locateopen-%locateopen_version
%patch1 %patch1
@ -622,10 +609,6 @@ cp -a autoload doc plugin %{buildroot}/%{vimplugin_dir}
# vim-plugin-latext creates ftplugin # vim-plugin-latext creates ftplugin
cp -a ftplugin/qf.vim %{buildroot}%{vimplugin_dir}/ftplugin/ cp -a ftplugin/qf.vim %{buildroot}%{vimplugin_dir}/ftplugin/
popd popd
# vim-plugin-ag
pushd ag.vim-%{ag_commit}
cp -a autoload doc plugin %{buildroot}/%{vimplugin_dir}
popd
# vim-plugin-editorconfig # vim-plugin-editorconfig
pushd editorconfig-vim-%{editorconfig_version} pushd editorconfig-vim-%{editorconfig_version}
@ -864,16 +847,6 @@ if [ $1 == 0 ]; then
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
fi fi
# documentation: vim-plugin-ag
%post -n vim-plugin-ag
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
%postun -n vim-plugin-ag
if [ $1 == 0 ]; then
vim -u NONE -U NONE -X -n '+set nobackup nomore' '+helptags %vimplugin_dir/doc/' '+qa!' < /dev/null &> /dev/null
fi
# documentation: vim-plugin-editorconfig # documentation: vim-plugin-editorconfig
%post -n vim-plugin-editorconfig %post -n vim-plugin-editorconfig
@ -1102,12 +1075,6 @@ fi
%dir %vimplugin_dir/ftplugin %dir %vimplugin_dir/ftplugin
%vimplugin_dir/ftplugin/qf.vim %vimplugin_dir/ftplugin/qf.vim
%files -n vim-plugin-ag
%defattr(-,root,root,0755)
%vimplugin_dir/plugin/ag.vim
%vimplugin_dir/autoload/ag.vim
%vimplugin_dir/doc/ag.txt
%files -n vim-plugin-editorconfig %files -n vim-plugin-editorconfig
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
%vimplugin_dir/plugin/editorconfig.vim %vimplugin_dir/plugin/editorconfig.vim

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5003ddbd4a159d52e08895395a9381a4a50e9c8fd54fa474c901768b8add460
size 6665