From 530b019d285e2cbc4d6b83de9fbf000fa4373cb6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 11 2018 13:51:34 +0000 Subject: Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/four-in-a-row.spec b/four-in-a-row.spec index 99ec591..e56695e 100644 --- a/four-in-a-row.spec +++ b/four-in-a-row.spec @@ -1,8 +1,6 @@ -%global icon_themes hicolor - Name: four-in-a-row Version: 3.22.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GNOME Four-in-a-row game License: GPLv2+ and GFDL and GPLv3+ @@ -43,29 +41,6 @@ make %{?_smp_mflags} desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/four-in-a-row.desktop -%post -for t in %{icon_themes} ; do - touch --no-create %{_datadir}/icons/$t &>/dev/null || : -done - - -%postun -if [ $1 -eq 0 ]; then - for t in %{icon_themes} ; do - touch --no-create %{_datadir}/icons/$t &> /dev/null - gtk-update-icon-cache %{_datadir}/icons/$t &> /dev/null || : - done - glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : -fi - - -%posttrans -for t in %{icon_themes} ; do - gtk-update-icon-cache %{_datadir}/icons/$t &>/dev/null || : -done -glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : - - %files -f %{name}.lang %license COPYING COPYING.faenza-themes %{_bindir}/four-in-a-row @@ -78,6 +53,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : %changelog +* Thu Jan 11 2018 Igor Gnatenko - 3.22.2-2 +- Remove obsolete scriptlets + * Sat Sep 9 2017 Yanko Kaneti - 3.22.2-1 - Update to 3.22.2