diff --git a/vim-plugins.changes b/vim-plugins.changes index f9aa189..739ff26 100644 --- a/vim-plugins.changes +++ b/vim-plugins.changes @@ -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 diff --git a/vim-plugins.spec b/vim-plugins.spec index 8f526f9..80a7e93 100644 --- a/vim-plugins.spec +++ b/vim-plugins.spec @@ -48,8 +48,6 @@ %define snipmate_version 0.83 %define rails_version 4.4 %define ack_version 1.0.9 -%define ag_version 20160213 -%define ag_commit 994c27dd8f237573208548e7480e39b24ccbbfba %define editorconfig_version 0.3.3 %define fugitive_version 2.2 @@ -92,7 +90,6 @@ Source29: vimplugin-gitdiff-%{gitdiff_version}.tar.bz2 Source30: vimplugin-snipmate-%{snipmate_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 -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 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 @@ -551,22 +548,12 @@ Summary: Run the ack search tool from Vim License: Vim Group: Productivity/Text/Editors Requires: ack >= 2.0 +Obsoletes: vim-plugin-ag <= 20160213 +Provides: vim-plugin-ag = 20160231 %description -n vim-plugin-ack 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 Version: %editorconfig_version @@ -598,7 +585,7 @@ Requires: git-core Provides git integration with vim. %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 ------ pushd vimplugin-locateopen-%locateopen_version %patch1 @@ -622,10 +609,6 @@ cp -a autoload doc plugin %{buildroot}/%{vimplugin_dir} # vim-plugin-latext creates ftplugin cp -a ftplugin/qf.vim %{buildroot}%{vimplugin_dir}/ftplugin/ popd -# vim-plugin-ag -pushd ag.vim-%{ag_commit} -cp -a autoload doc plugin %{buildroot}/%{vimplugin_dir} -popd # vim-plugin-editorconfig 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 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 %post -n vim-plugin-editorconfig @@ -1102,12 +1075,6 @@ fi %dir %vimplugin_dir/ftplugin %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 %defattr(-,root,root,0755) %vimplugin_dir/plugin/editorconfig.vim diff --git a/vimplugin-ag-20160213.tar.gz b/vimplugin-ag-20160213.tar.gz deleted file mode 100644 index 7af8b1a..0000000 --- a/vimplugin-ag-20160213.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5003ddbd4a159d52e08895395a9381a4a50e9c8fd54fa474c901768b8add460 -size 6665