diff --git a/vim-vimoutliner.spec b/vim-vimoutliner.spec index e46ac61..80df2fe 100644 --- a/vim-vimoutliner.spec +++ b/vim-vimoutliner.spec @@ -63,7 +63,6 @@ install -p -m a+r,u+w vimoutliner-mimefile.xml \ install -p -D %{SOURCE6} %{buildroot}%{_datadir}/appdata/%{name}.metainfo.xml %post -touch --no-create %{_datadir}/mime/packages &> /dev/null || : cd %{_datadir}/vim/vimfiles/doc vim -u NONE -esX -c "helptags ." -c quit grep -q "filetype plugin on" /etc/vimrc \ @@ -71,15 +70,10 @@ grep -q "filetype plugin on" /etc/vimrc \ %postun if [ $1 -eq 0 ]; then - touch --no-create %{_datadir}/mime/packages &> /dev/null || : - update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : cd %{_datadir}/vim/vimfiles/doc vim -u NONE -esX -c "helptags ." -c quit fi -%posttrans -update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : - %files %doc README.otl2html README.otl_handler README.Fedora LICENSE TODO.otl %doc examples CHANGELOG