From dc0486c05354b66201ef7ba60d550e4ad085c13c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 5 Jan 2018 23:59:22 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- yelp.spec | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/yelp.spec b/yelp.spec index 249cd86..3d7b76b 100644 --- a/yelp.spec +++ b/yelp.spec @@ -3,7 +3,7 @@ Name: yelp Epoch: 2 Version: 3.26.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Help browser for the GNOME desktop Group: Applications/System @@ -118,22 +118,6 @@ find $RPM_BUILD_ROOT%{_libdir} -name '*.la' -delete %check desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/yelp.desktop -%post -update-desktop-database &> /dev/null ||: -touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : - -%postun -update-desktop-database &> /dev/null ||: -if [ $1 -eq 0 ]; then - glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||: - touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : - gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : -fi - -%posttrans -glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null ||: -gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : - %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig @@ -161,6 +145,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : %changelog +* Fri Jan 05 2018 Igor Gnatenko - 2:3.26.0-2 +- Remove obsolete scriptlets + * Mon Sep 11 2017 David King - 2:3.26.0-1 - Update to 3.26.0