[packages/vim-plugin-checksyntax] update help tags in post

glen glen at pld-linux.org
Thu Dec 5 16:12:49 CET 2013


commit 72c369731b39656a9d0805e69c9ab211c93b4738
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Dec 5 17:12:33 2013 +0200

    update help tags in post

 vim-plugin-checksyntax.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/vim-plugin-checksyntax.spec b/vim-plugin-checksyntax.spec
index 7010d34..bf4d5db 100644
--- a/vim-plugin-checksyntax.spec
+++ b/vim-plugin-checksyntax.spec
@@ -9,6 +9,7 @@ Source0:	https://github.com/tomtom/checksyntax_vim/archive/%{version}/%{plugin}-
 # Source0-md5:	235de7ae32b861262d74c4bf0212da90
 URL:		https://github.com/tomtom/checksyntax_vim
 Requires:	vim-rt >= 4:7.2.170
+Requires(post,postun):	vim
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -34,6 +35,12 @@ gzip -9nf $RPM_BUILD_ROOT%{_vimdatadir}/doc/checksyntax.txt
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+vim -c "helptags %{_vimdatadir}/doc" -c "q"
+
+%postun
+vim -c "helptags %{_vimdatadir}/doc" -c "q"
+
 %files
 %defattr(644,root,root,755)
 %doc README CHANGES.TXT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vim-plugin-checksyntax.git/commitdiff/72c369731b39656a9d0805e69c9ab211c93b4738



More information about the pld-cvs-commit mailing list