SHA256
1
0
forked from pool/fzf

- Generate tags for vim documentation

OBS-URL: https://build.opensuse.org/package/show/utilities/fzf?expand=0&rev=29
This commit is contained in:
Matej Cepl 2020-12-18 22:23:52 +00:00 committed by Git OBS Bridge
parent 17784c9367
commit d179512291
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 18 22:22:06 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Generate tags for vim documentation
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Dec 13 19:52:48 UTC 2020 - Matej Cepl <mcepl@suse.com> Sun Dec 13 19:52:48 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@ -86,6 +86,8 @@ zsh shell completions for fzf
Summary: Vim plugin for fzf Summary: Vim plugin for fzf
Group: Productivity/File utilities Group: Productivity/File utilities
BuildArch: noarch BuildArch: noarch
Requires(post): (vim or neovim)
Requires(postun): (vim or neovim)
%description -n vim-fzf %description -n vim-fzf
Plugin for vim allowing use of fzf. Plugin for vim allowing use of fzf.
@ -143,6 +145,15 @@ go test -v -x -mod=vendor ${BUILDMOD} -a \
github.com/junegunn/fzf/src/tui \ github.com/junegunn/fzf/src/tui \
github.com/junegunn/fzf/src/util github.com/junegunn/fzf/src/util
%post -n vim-fzf
vim -c "helptags %{vimplugin_dir}/doc |x" \
|| nvim -c "helptags %{vimplugin_dir}/doc |x"
%postun -n vim-fzf
vim -c "helptags %{vimplugin_dir}/doc |x" \
|| nvim -c "helptags %{vimplugin_dir}/doc |x" \
|| :
%files %files
%doc README.md %doc README.md
%{_bindir}/fzf %{_bindir}/fzf