From 4e8a7b88d4dd98027e7a7ee7d6f02be7a6c80692 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 6 Jan 2019 16:17:57 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- gedit-plugins.spec | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/gedit-plugins.spec b/gedit-plugins.spec index 27a6e7d..f1d2fb5 100644 --- a/gedit-plugins.spec +++ b/gedit-plugins.spec @@ -244,33 +244,6 @@ find $RPM_BUILD_ROOT/%{_libdir}/gedit/plugins -name "*.la" -exec rm {} \; [ -f ${RPM_BUILD_ROOT}%{_libdir}/gedit/plugins/terminal.py ] -%postun -n gedit-plugin-drawspaces -if [ $1 -eq 0 ]; then - glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : -fi - -%posttrans -n gedit-plugin-drawspaces -glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : - - -%postun -n gedit-plugin-terminal -if [ $1 -eq 0 ]; then - glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : -fi - -%posttrans -n gedit-plugin-terminal -glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : - - -%postun -n gedit-plugin-wordcompletion -if [ $1 -eq 0 ]; then - glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : -fi - -%posttrans -n gedit-plugin-wordcompletion -glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : - - # Empty files section for the metapackage to make sure it's created %files