From 16463de30015a8929357a8e4b647e0a413450849 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 6 Jan 2018 10:26:49 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- evolution.spec | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/evolution.spec b/evolution.spec index 307b6ea..0cd9aa5 100644 --- a/evolution.spec +++ b/evolution.spec @@ -27,7 +27,7 @@ Name: evolution Version: 3.27.3 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/Productivity Summary: Mail and calendar client for GNOME License: GPLv2+ and GFDL @@ -292,26 +292,9 @@ grep "/usr/share/locale" evolution.lang > translations.lang grep -v "/usr/share/locale" evolution.lang > help.lang %endif -%post -/sbin/ldconfig -/usr/bin/update-desktop-database &> /dev/null || : -touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : +%post -p /sbin/ldconfig -%postun -/sbin/ldconfig -/usr/bin/update-desktop-database &> /dev/null || : -if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : -fi - -%posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : - -%clean -rm -rf $RPM_BUILD_ROOT +%postun -p /sbin/ldconfig %files %license COPYING @@ -521,6 +504,8 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/installed-tests %changelog +* Sat Jan 06 2018 Igor Gnatenko - 3.27.3-2 +- Remove obsolete scriptlets - Add explicit dependency on evolution-data-server (RH bug #1524416) * Mon Dec 11 2017 Milan Crha - 3.27.3-1