From 50245a804d838e5cc8228ba08ad438729a273beb Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 6 Jan 2018 00:06:51 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- evince.spec | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/evince.spec b/evince.spec index a429017..814b380 100644 --- a/evince.spec +++ b/evince.spec @@ -5,7 +5,7 @@ Name: evince Version: 3.26.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Document viewer License: GPLv2+ and GPLv3+ and LGPLv2+ and MIT and Afmparse @@ -165,24 +165,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a %check desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/evince.desktop -%post -update-desktop-database &> /dev/null ||: -touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : - %post libs -p /sbin/ldconfig -%postun -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 || : -fi -glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null ||: - -%posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : -glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null ||: - %postun libs -p /sbin/ldconfig %files -f evince.lang @@ -264,6 +248,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null ||: %{_libdir}/mozilla/plugins/libevbrowserplugin.so %changelog +* Fri Jan 05 2018 Igor Gnatenko - 3.26.0-2 +- Remove obsolete scriptlets + * Wed Sep 13 2017 Kalev Lember - 3.26.0-1 - Update to 3.26.0