Created attachment 1165522 [details] RPM file triggers support Description of problem: Currently, all vim plugins need to contain lines such as [1]: %post vim -c ":helptags %{vimfiles}/doc" -c :q &> /dev/null %postun > %{vimfiles}/doc/tags vim -c ":helptags %{vimfiles}/doc" -c :q &> /dev/null to refresh the documentation index. It would be nice, if this is handled in vim package via transaction triggers [2]. [1] http://pkgs.fedoraproject.org/cgit/rpms/vim-commentary.git/tree/vim-commentary.spec?id=1cf2381a567e893ec4fe6d1f659d93d75a5dde58#n51 [2] http://www.rpm.org/wiki/FileTriggers
Agree, would be nice to have.
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'.
ping?
I'm back from PTO now but don't have time to have a look at this atm. Please feel free to add those triggers to vim
Since the bug 1284645 got fixed, I took the liberty to implement this.