From bc566bb77b4da4e78f1de5911b6a9264fedfb9f1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 07 2018 17:58:13 +0000 Subject: Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/7kaa.spec b/7kaa.spec index d323998..0dbc9e6 100644 --- a/7kaa.spec +++ b/7kaa.spec @@ -2,7 +2,7 @@ %global icon_dest_dir %{_datadir}/icons/hicolor/32x32/apps Name: 7kaa Version: 2.14.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Seven Kingdoms: Ancient Adversaries License: GPLv3+ and GPLv2+ @@ -116,22 +116,6 @@ install -m 644 %{SOURCE1} %{buildroot}%{prj_music_dir} rm -f %{buildroot}%{_docdir}/%{name}/COPYING -%post data -/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - -%postun data -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null - if [ -x /usr/bin/gtk-update-icon-cache ];then - /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - fi -fi - -%posttrans data -if [ -x /usr/bin/gtk-update-icon-cache ];then - /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -fi - %postun music if [ $1 -eq 0 ] ; then ## When Uninstall @@ -156,6 +140,9 @@ fi %dir %{_docdir}/%{name}-music %changelog +* Sun Jan 07 2018 Igor Gnatenko - 2.14.7-2 +- Remove obsolete scriptlets + * Thu Dec 07 2017 Ding-Yi Chen - 2.14.7-1 - Upstream update to 2.14.7 Fixes Bug 1458610 - 7kaa-2.14.7 is available