Accepting request 1110993 from editors
OBS-URL: https://build.opensuse.org/request/show/1110993 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vim-plugins?expand=0&rev=51
This commit is contained in:
commit
23df8e0bd0
9
bats-indent-19eb3c5.patch
Normal file
9
bats-indent-19eb3c5.patch
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
diff -rNu bats.vim-0.10.0.orig/after/indent/bats.vim bats.vim-0.10.0/after/indent/bats.vim
|
||||||
|
--- bats.vim-0.10.0.orig/after/indent/bats.vim 1970-01-01 01:00:00.000000000 +0100
|
||||||
|
+++ bats.vim-0.10.0/after/indent/bats.vim 2023-09-04 16:26:22.078065023 +0200
|
||||||
|
@@ -0,0 +1,5 @@
|
||||||
|
+" Bats.vim - Syntax files for Bats (Bash Automated Testing System).
|
||||||
|
+" Version: 0.10.0
|
||||||
|
+
|
||||||
|
+" Use Bash indentation.
|
||||||
|
+runtime! indent/sh.vim
|
@ -3,6 +3,12 @@ Thu Sep 7 22:27:36 UTC 2023 - David Disseldorp <ddiss@suse.com>
|
|||||||
|
|
||||||
- add vim-plugin-cscope
|
- add vim-plugin-cscope
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 4 14:50:28 UTC 2023 - Olav Reinert <seroton10@gmail.com>
|
||||||
|
|
||||||
|
- add vim-plugin-bats 0.10.0
|
||||||
|
* add upstream file not released yet: bats-indent-19eb3c5.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 11 07:51:41 UTC 2023 - Jiri Slaby <jslaby@suse.cz>
|
Tue Jul 11 07:51:41 UTC 2023 - Jiri Slaby <jslaby@suse.cz>
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
%define align_version_orig 37-43
|
%define align_version_orig 37-43
|
||||||
%define align_version 37.43
|
%define align_version 37.43
|
||||||
%define a_version 2.18
|
%define a_version 2.18
|
||||||
|
%define bats_version 0.10.0
|
||||||
%define bufexplorer_version 7.4.26
|
%define bufexplorer_version 7.4.26
|
||||||
%define calendar_version 2.5
|
%define calendar_version 2.5
|
||||||
%define colorsel_version 20110107
|
%define colorsel_version 20110107
|
||||||
@ -104,7 +105,8 @@ Source35: https://github.com/tpope/vim-fugitive/archive/refs/tags/v%{fugit
|
|||||||
Source36: https://github.com/vim-airline/vim-airline/archive/refs/tags/v%{airline_version}.tar.gz#/vimplugin-airline-%{airline_version}.tar.gz
|
Source36: https://github.com/vim-airline/vim-airline/archive/refs/tags/v%{airline_version}.tar.gz#/vimplugin-airline-%{airline_version}.tar.gz
|
||||||
Source37: https://github.com/dense-analysis/ale/archive/refs/tags/v%{ale_version}.tar.gz#/vimplugin-ale-%{ale_version}.tar.gz
|
Source37: https://github.com/dense-analysis/ale/archive/refs/tags/v%{ale_version}.tar.gz#/vimplugin-ale-%{ale_version}.tar.gz
|
||||||
Source38: https://github.com/dhruvasagar/vim-table-mode/archive/refs/tags/v%{table_mode_version}.tar.gz#/vimplugin-table-mode-%{table_mode_version}.tar.gz
|
Source38: https://github.com/dhruvasagar/vim-table-mode/archive/refs/tags/v%{table_mode_version}.tar.gz#/vimplugin-table-mode-%{table_mode_version}.tar.gz
|
||||||
Source39: https://cscope.sourceforge.net/cscope_maps.vim
|
Source39: https://github.com/aliou/bats.vim/archive/refs/tags/v%{bats_version}.tar.gz#/vimplugin-bats-%{bats_version}.tar.gz
|
||||||
|
Source40: https://cscope.sourceforge.net/cscope_maps.vim
|
||||||
# from _service
|
# from _service
|
||||||
Source100: file-line-%{file_line_version}.tar.xz
|
Source100: file-line-%{file_line_version}.tar.xz
|
||||||
Source101: vim-markdown-%{markdown_version}.tar.xz
|
Source101: vim-markdown-%{markdown_version}.tar.xz
|
||||||
@ -119,6 +121,7 @@ Patch0: salt-syntax-avoid-multiline-lets.patch
|
|||||||
Patch1: locateopen-1.3-locate-support.patch
|
Patch1: locateopen-1.3-locate-support.patch
|
||||||
Patch2: showmarks-signs.patch
|
Patch2: showmarks-signs.patch
|
||||||
Patch3: file-line-Fix-other-plugins-loading.patch
|
Patch3: file-line-Fix-other-plugins-loading.patch
|
||||||
|
Patch4: bats-indent-19eb3c5.patch
|
||||||
BuildRequires: rsync
|
BuildRequires: rsync
|
||||||
BuildRequires: vim
|
BuildRequires: vim
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -197,6 +200,18 @@ comments, align declarations, etc. It handles alignment on multiple separators,
|
|||||||
not just the first one, and the separators may be the same across the line or
|
not just the first one, and the separators may be the same across the line or
|
||||||
different.
|
different.
|
||||||
|
|
||||||
|
%package -n vim-plugin-bats
|
||||||
|
Version: %bats_version
|
||||||
|
Release: 0
|
||||||
|
Summary: Bats plugin for Vim
|
||||||
|
License: Vim
|
||||||
|
Group: Productivity/Text/Editors
|
||||||
|
URL: https://github.com/aliou/bats.vim
|
||||||
|
|
||||||
|
%description -n vim-plugin-bats
|
||||||
|
This Vim plugin provides support for editing Bats (Bash Automated Testing
|
||||||
|
System) test files.
|
||||||
|
|
||||||
%package -n vim-plugin-bufexplorer
|
%package -n vim-plugin-bufexplorer
|
||||||
Version: %bufexplorer_version
|
Version: %bufexplorer_version
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -721,7 +736,7 @@ Usage:
|
|||||||
Press <c-w>o again: the previous set of windows is restored
|
Press <c-w>o again: the previous set of windows is restored
|
||||||
|
|
||||||
%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 -a26 -a27 -a28 -a30 -a31 -a32 -a33 -a34 -a35 -a36 -a37 -a38 -a100 -a101 -a102 -a103 -a104
|
%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 -a26 -a27 -a28 -a30 -a31 -a32 -a33 -a34 -a35 -a36 -a37 -a38 -a39 -a100 -a101 -a102 -a103 -a104
|
||||||
pushd salt-vim-%{salt_version}
|
pushd salt-vim-%{salt_version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
popd
|
popd
|
||||||
@ -735,6 +750,9 @@ popd
|
|||||||
pushd file-line-%file_line_version
|
pushd file-line-%file_line_version
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
popd
|
popd
|
||||||
|
pushd bats.vim-%{bats_version}
|
||||||
|
%patch4 -p1
|
||||||
|
popd
|
||||||
|
|
||||||
find tlib_vim-%{tlib_version} -type f \( -name '*.vim' -o -name '*.txt' \) -exec chmod -v 644 {} +
|
find tlib_vim-%{tlib_version} -type f \( -name '*.vim' -o -name '*.txt' \) -exec chmod -v 644 {} +
|
||||||
chmod -v 644 taglist-%{taglist_version}/doc/taglist.txt
|
chmod -v 644 taglist-%{taglist_version}/doc/taglist.txt
|
||||||
@ -799,6 +817,10 @@ cat > vim-latex-%{latex_version}/.rsync-filter <<EOF
|
|||||||
- /doc/Makefile*
|
- /doc/Makefile*
|
||||||
- /doc/README*
|
- /doc/README*
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
cat > bats.vim-%{bats_version}/.rsync-filter <<EOF
|
||||||
|
- /readme.md
|
||||||
|
EOF
|
||||||
# END EXCLUDES
|
# END EXCLUDES
|
||||||
|
|
||||||
install -d %buildroot/%vimplugin_dir
|
install -d %buildroot/%vimplugin_dir
|
||||||
@ -808,7 +830,7 @@ for i in */; do
|
|||||||
"$i" %buildroot/%{vimplugin_dir}/
|
"$i" %buildroot/%{vimplugin_dir}/
|
||||||
done
|
done
|
||||||
|
|
||||||
install -m 644 %{SOURCE39} %buildroot/%vimplugin_dir/plugin/
|
install -m 644 %{SOURCE40} %buildroot/%vimplugin_dir/plugin/
|
||||||
|
|
||||||
install -d %buildroot/%vimplugin_dir/after/ftplugin/
|
install -d %buildroot/%vimplugin_dir/after/ftplugin/
|
||||||
install -m 644 %{SOURCE200} %buildroot/%vimplugin_dir/after/ftplugin/
|
install -m 644 %{SOURCE200} %buildroot/%vimplugin_dir/after/ftplugin/
|
||||||
@ -847,6 +869,7 @@ fi \
|
|||||||
%vim_doc_post -n vim-plugin-airline
|
%vim_doc_post -n vim-plugin-airline
|
||||||
%vim_doc_post -n vim-plugin-ale
|
%vim_doc_post -n vim-plugin-ale
|
||||||
%vim_doc_post -n vim-plugin-align
|
%vim_doc_post -n vim-plugin-align
|
||||||
|
%vim_doc_post -n vim-plugin-bats
|
||||||
%vim_doc_post -n vim-plugin-bufexplorer
|
%vim_doc_post -n vim-plugin-bufexplorer
|
||||||
%vim_doc_post -n vim-plugin-colorsel
|
%vim_doc_post -n vim-plugin-colorsel
|
||||||
%vim_doc_post -n vim-plugin-diffchanges
|
%vim_doc_post -n vim-plugin-diffchanges
|
||||||
@ -926,6 +949,17 @@ fi \
|
|||||||
%vimplugin_dir/plugin/AlignPlugin.vim
|
%vimplugin_dir/plugin/AlignPlugin.vim
|
||||||
%vimplugin_dir/plugin/cecutil.vim
|
%vimplugin_dir/plugin/cecutil.vim
|
||||||
|
|
||||||
|
%files -n vim-plugin-bats
|
||||||
|
%defattr(-,root,root,0755)
|
||||||
|
%doc bats.vim-%{bats_version}/readme.md
|
||||||
|
%vimplugin_dir/ftplugin/bats.vim
|
||||||
|
%vimplugin_dir/after/syntax/bats.vim
|
||||||
|
%dir %vimplugin_dir/after/indent
|
||||||
|
%vimplugin_dir/after/indent/bats.vim
|
||||||
|
%vimplugin_dir/ftdetect/bats.vim
|
||||||
|
%vimplugin_dir/compiler/bats.vim
|
||||||
|
%vimplugin_dir/plugin/bats.vim
|
||||||
|
|
||||||
%files -n vim-plugin-bufexplorer
|
%files -n vim-plugin-bufexplorer
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
%license bufexplorer-%{bufexplorer_version}/LICENSE
|
%license bufexplorer-%{bufexplorer_version}/LICENSE
|
||||||
|
3
vimplugin-bats-0.10.0.tar.gz
Normal file
3
vimplugin-bats-0.10.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:652c1131cee5dde5f23beb02e3a3a12402174611beed271e369c96e7cb772dfc
|
||||||
|
size 1857
|
Loading…
Reference in New Issue
Block a user