From b520ba582679a3eb569869fc9721ecc9d1fcce16 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 29 Jan 2019 06:05:38 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- vim-vimoutliner.spec | 6 ------ 1 file changed, 6 deletions(-) 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