From 04899c5de2edc877129ce0d6508152d2c7e57242 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 5 Jan 2018 23:24:18 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- eog.spec | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/eog.spec b/eog.spec index 908cb72..7a0d43e 100644 --- a/eog.spec +++ b/eog.spec @@ -7,7 +7,7 @@ Name: eog Version: 3.26.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Eye of GNOME image viewer # The GFDL has an "or later version" clause embedded inside the license. @@ -82,24 +82,10 @@ make %{?_smp_mflags} rm -rf $RPM_BUILD_ROOT%{_libdir}/eog/plugins/*.la - %check appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml desktop-file-validate %{buildroot}/%{_datadir}/applications/eog.desktop - -%post -touch %{_datadir}/icons/hicolor >&/dev/null || : - -%postun -if [ $1 -eq 0 ]; then - touch --no-create %{_datadir}/icons/hicolor >&/dev/null || : - gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : -fi - -%posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : - %files -f %{name}.lang %doc AUTHORS NEWS README %license COPYING @@ -124,6 +110,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %{_datadir}/installed-tests/ %changelog +* Fri Jan 05 2018 Igor Gnatenko - 3.26.2-2 +- Remove obsolete scriptlets + * Thu Nov 09 2017 Kalev Lember - 3.26.2-1 - Update to 3.26.2